Jump to content

PHPMailer or SwiftMailer ? newbie to both needing some help in deciding


Recommended Posts

Hi,

 

I have always used PHP's built in mail() function and it has always worked for me without fail and does the job i want it to.

 

Now some maybe thinking 'Why fix something that isn't broke ?'.

 

My answer to these in-case someone asks is:

 

1) I have never used a framework before if that's what they are classified as or perhaps they are called a library i don't know.

 

2) I want to start using one and have looked over the documentation and both seem very easy to use.

 

3) As i implement new features into my site, my site is depending more on sending emails etc meaning PHP's mail() function is not upto the job anymore.

 

4) They would be easier to use when dealing with advanced things like attachments, html and text versions etc; that would otherwise be difficult or impossible using PHP's mail() function.

 

5) I have never used SMTP, and i have looked into it and i can see i can use it along with SSL on my hosting package. After plenty of reading it seems that not only is SMTP more reliable and more widely used, emails are less likely to be marked as spam, using either of the frameworks will improve performance, reliability and more secure because it uses SMTP with SSL.

 

Now i am not sure what the other benefits are using SMTP, maybe someone could give me some more reasons why it's better ?  as am looking to find out more information about SMTP benefits.

 

I have looked at both documentation looked at the features they both offer, searched google for PHPMailer vs SwiftMailer but not found anything saying why one is better than the other.

 

Does anyone have experience with any of them?

 

Does one have more benefits than the other?

 

Would you say one is better than the other?

 

I did read allot of people saying PHPMailer was a dead project but those posts was relatively old. Looking at PHPMailer's website it seems the project is and has been back in development for some time now.

 

Thanks for anything you can provide on either PHPMailer and/or SwiftMailer. Hopefully i can decide on one or the other as at the moment i have no reason on why i would choose one over the other.

 

Thanks

PHPFAN

  • 3 weeks later...
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.