Jump to content

Sending SMTP email


NotionCommotion

Recommended Posts

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

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.