Email and Cloudflare

If you are using cloudflare to hide your servers IP address, then you need to ensure you don’t send email from that server. Reasons: Creating a SPF record to avoid email going to spam will require you to specify the servers IP address – fail! Sending an email will reveal your IP address in the […]

Read More

Email never arrives

Some things to check if an email sent never arrives… Is the email being sent from and to domains on the same server? If you are using an external email provider (e.g. gmail) ensure that email service is not turned on for the destination domain on your server. If it is then the email will […]

Read More

Sending Email

To send an email in php use the mail function Working example PHPMailer Great when you want to send email via a SMTP server (e.g. googlemail), attach files to emails, etcDownload from http://phpmailer.worxware.com/Copy class.phpmailer.php, class.pop3.php and class.smtp.php into your site (e.g. in a folder called phpmailer) and use one of their example files as the […]

Read More