Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Best Send Mail Option To Use Rate Topic   - - - - -

 
  • jimmyod
  • Senior Member
  • Members
  • Join Date: 24-Apr 12
  • 438 posts

Posted 22 August 2018 - 01:58 PM #1

What are the differences and pros & cons between these 3 methods.

1. sendmail program

2. php mail function

3. smtp server

I do know what the smtp server method is, but Is one better or preferred over another?

 

As always, Thanks.



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 10838 posts

Posted 22 August 2018 - 05:59 PM #2

Php mail utilizes the built in 'mail' function within php.  It will generally use the server's sendmail daemon to most likely do an SMTP request to the recipient's email server.  So you can envision them to be like a stack.  The likelihood of your email being flagged as spam is greatest using php mail, then sendmail, then smtp.

 

SMTP is authenticated (usually) and the others are not.

 

The differences are that the smtp "method" makes a direct SMTP connection to an email server for your domain.  Sendmail and php mail will utilize whatever server configuration your hosting has provided and may not be appropriate for your domain.

 

Hope that helps explain...


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • jimmyod
  • Senior Member
  • Members
  • Join Date: 24-Apr 12
  • 438 posts

Posted 22 August 2018 - 06:21 PM #3

Php mail utilizes the built in 'mail' function within php.  It will generally use the server's sendmail daemon to most likely do an SMTP request to the recipient's email server.  So you can envision them to be like a stack.  The likelihood of your email being flagged as spam is greatest using php mail, then sendmail, then smtp.

 

SMTP is authenticated (usually) and the others are not.

 

The differences are that the smtp "method" makes a direct SMTP connection to an email server for your domain.  Sendmail and php mail will utilize whatever server configuration your hosting has provided and may not be appropriate for your domain.

 

Hope that helps explain...

Thanks, that does explain a lot.

I have been using the sendmail for the longest time and it seems that lately when my customers sign up for newsletters and an auto reply sends out, it gets flagged for spam. I will try smtp and see how that goes.

I appreciate your input.