NotionCommotion Posted November 8, 2018 Share Posted November 8, 2018 Is PHPmailer still considered a good/best solution to sending emails via smtp or is there a native solution yet? If not, is there a good reason why PHP hasn't implemented such? Kind of like how we used to use some 3rd party library for password hashing (forgot the name), but now use password_hash() and password_verify(). I know there is PEAR Mail::send(), but the last time I researched the subject, seemed like PHPmailer was a better solution. Any other recommendations? Thanks Quote Link to comment Share on other sites More sharing options...
kicken Posted November 8, 2018 Share Posted November 8, 2018 PHPMailer is still popular as far as I know, and is probably fine. I prefer SwiftMailer personally. As for why there is no native solution...probably just because there are already excellent third-party solutions and creating a well/full featured internal SMTP client would be more hassle than it's worth. The password functions were added because it's a very common task and one that many people end up doing incorrectly which can have major consequences. It's also something that would have been relatively easy to implement as native functions so the benefit of adding them was well worth the effort required to do so. Quote Link to comment Share on other sites More sharing options...
NotionCommotion Posted November 9, 2018 Author Share Posted November 9, 2018 Fair enough. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.