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

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

How to create a .htaccess file

Creating a .htaccess is easier then it sounds. You can create an .htaccess file in any text...

http Error codes

The following are http status and error codes that are returned for each file access via a web...

Frontpage Publishing via FTP

Frontpage extensions are not supported on our servers due to bugs in the extensions (some...

How to upload / create your site.

Creating your site How you create your site depends on what you want to do with it.  You...

Changing php.ini directives via .htaccess

A script you want to use requires a different setting then we have set?  No problem, you...