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
Related Articles
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...
Which PHP versions do you support on shared hosting?
We currently support the following PHP versions on our shared hosting servers: 5.6 7.1 7.2...
Force https via htaccess
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
Your own php error.log and displaying errors
Is your script not behaving as expected or producing a white page? If so, it could be a PHP...
Increase PHP memory limit
If you need PHP's memory limit to be increased, please do the following: Create a file called...