wh33t — 2012-09-24T00:48:45-04:00 — #1
What are the steps I need to take to ensure that emails sent from my webserver will arrive in a users inbox? Is there a check list I can through ex, headers, proper email address, clean IP address, from address, to address, reply-to address, message body under a certain size, message body lacking spammy words etc?
feketegy — 2012-09-25T06:09:40-04:00 — #2
Also make sure you authenticate your mails with a domain key (DKIM). More info here: http://www.dkim.org/
The biggest no no is using a different domain in the 'from' address then the server from which the email is sent. It will instantly be marked as spam.
On the other hand, use Google mail server to handle your emails, and use SwiftMailer for sending emails from PHP. It's the best tool you can find.
wh33t — 2012-09-25T15:59:50-04:00 — #3
Thank you. I'm not too familiar with Google mail server or SwiftMailer I will look into them immediately. Would you be able to elaborate on what kind of headers are required to send a properly formed email?
feketegy — 2012-09-26T03:35:03-04:00 — #4
If you use SwiftMailer it will handle it for you.
wh33t — 2012-09-26T03:49:11-04:00 — #5
Chaching! Thank you.
lemon_juice — 2012-09-26T13:46:57-04:00 — #6
Set up a mailbox account on your server that you will use to send the emails from.
Use Swiftmailer or PHPMailer package - configure it to send emails via SMTP of your mailbox account.
wh33t — 2012-10-16T02:41:52-04:00 — #7
Awesome I've got it working now Thanks for your help guys.