Sending mail via PHP / sendmail

Using PHP's mail() function and/or sendmail will sometimes cause anti-spam filters to filter out your mail.  As such, it is best to use a SMTP authenticated conenection to the mail server for the domain.  For PHP, you can use phpmailer classes.  Most mainstream scripts will have buitl-in support for SMTP authentication .  You would use the same settings as you would for a regular mail client, though perhaps using a dedicated mailbox for sending mail.

You can see an example of sending mail via phpmailer at http://u2-web.com/support/downloads/formmail/

Some of our web servers require sending via SMTP authentication.   Please contact us if you would like to find out if you are on one of those servers.
  • 61 Users Found This Useful
Was this answer helpful?

Related Articles

Selecting PHP version

Selecting PHP versions can be done by doing the following:hsphere Login to the control panel...

Aliasing Domains with Proper SEO (domains and Search Engines)

Aliasing a domain to a primary domain is a great way to simplify domain hosting as only one main...

Email Provider Message Sizes

Most mail servers limit the message size -- the size of the entire message including all...

PHP settings and the .user.ini file

Most settings for PHP can be configured via a file called ".user.ini" as defined by the...

Select PHP Version - Plesk

To select a version of PHP within the Plesk control panel, please do the following: Login in...