Jump to content

PHP Mail vs. SMTP Mail - Which do you use?


Media Corp.

Which Mail Config (PHP vs SMTP)  

61 members have voted

  1. 1. Which Mail Config (PHP vs SMTP)



Recommended Posts

Hello,

 

We are setting up our new install of WHMCS and would like to know which mail configuration YOU use. We have tried both and realize the 'drawbacks' to each.

 

Your input would be GREATLY appreciated.

 

1) Which mail config do you use (PHP Mail or SMTP Mail)?

2) Why?

3) What should we be aware of for either?

 

Cheers,

Derek

Link to comment
Share on other sites

  • 2 months later...

Just bumping up an old thread. Someone else mentioned that e-mails sent using PHPMail have a greater chance of making it into a spam folder compared to SMTP. I don't know why that would be, maybe someone else could elaborate?

 

Any other comments/suggestions regarding PHP Mail vs SMTP Mail?

Link to comment
Share on other sites

Someone else mentioned that e-mails sent using PHPMail have a greater chance of making it into a spam folder compared to SMTP. I don't know why that would be, maybe someone else could elaborate?
I beleive this may be due to the PHP mail headers. Some providers detect those and use them as a spamminess indicator if I remember correctly.
Link to comment
Share on other sites

  • 2 weeks later...

We use PHP Mail because the WHMCS SMTP method is broken.

 

If you don't use SMTP Authentication, WHMCS fails to use the value of "System Emails From Name" and "System Emails From Email" in the your configuration -- thus all your e-mail are sent from a blank from address. Which basically causes all your e-mail to be rejected.

 

We wish we could use SMTP instead of PHP, but unless Matt fixes it, we can't

Link to comment
Share on other sites

If you don't use SMTP Authentication, WHMCS fails to use the value of "System Emails From Name" and "System Emails From Email" in the your configuration -- thus all your e-mail are sent from a blank from address. Which basically causes all your e-mail to be rejected.

- Works fine for me. If this was the case, I am sure it would either be removed, or others would be reporting the same thing.

 

Might be a conflict with WHMCS and the server it is on? :roll:

 

Have you opened a ticket with Matt?

Link to comment
Share on other sites

Yeah I did, just now.

 

I did a test with SMTPAUTH - all the mails come "From" the address I am using for SMTPAUTH instead of the values I have in my "System Emails ..." entries under config->general->mail

 

They have a correct "Reply To: " but it still looks odd with a 'From: ' with a totally different address, in a different domain.

Link to comment
Share on other sites

- Works fine for me. If this was the case, I am sure it would either be removed, or others would be reporting the same thing.

 

Might be a conflict with WHMCS and the server it is on? :roll:

 

Have you opened a ticket with Matt?

 

Maybe it could just be why 50%+ use PHP Mail? A lot of people would be happy with one or the other working, and not bothering ... that's what I did until I saw this thread and decided to try SMTP again and watch my EXIM logs.

Link to comment
Share on other sites

Matt says you must use SMTPAUTH, not using it doesn't work, and that the from address will always be what you use for SMTPAUTH values.

 

Not sure why he's doing it this way, I send mail all the time with different From:s using a single SMTPAUTH login, but I will assume he has a good reason for choosing to do this.

 

My problem is I can't use the outbound server that has my customer support e-mail, I need to use a local mail server for outbound. Not any requirement I suppose, but it's on my local network and makes a lot more sense to use it ... just no matching SMTPAUTH login for that server.

Link to comment
Share on other sites

Matt says you must use SMTPAUTH, not using it doesn't work, and that the from address will always be what you use for SMTPAUTH values.

 

Not sure why he's doing it this way, I send mail all the time with different From:s using a single SMTPAUTH login, but I will assume he has a good reason for choosing to do this.

 

My problem is I can't use the outbound server that has my customer support e-mail, I need to use a local mail server for outbound. Not any requirement I suppose, but it's on my local network and makes a lot more sense to use it ... just no matching SMTPAUTH login for that server.

 

BUT by doing it like this means you have to use PHPMail if you want to have different from addresses as already noted in the thread.

 

That why we *have* to use PHPmail, although I would prefer to use SMTP.

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated