PHP Mail

Is there a way to determine if an email sent out from my system, automatically/dynamically, has been opened or bounced?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Not with the PHP mail() function.  If you are sending from a regular email address that you can check with an email client, you can get the bounces.  Opens are detected thru image links in the messages that are reported to a database.  Note that those links are frequently blocked by email clients.
Julian HansenCommented:
To expand on Dave's comment.

Bounced - you need to specify an return address that ends up in a mailbox you monitor. You can then access the mailbox regularly to scan for bounce backs.

In terms of opening / receiving - depends on the mail client. Some mail clients support sending read / delivered receipts - but these are optional and therefore not reliable.

Using an image that is sourced from a web server is a good way of doing it - but it relies on the recipient allowing / initiating the download of the image - which is not guaranteed.

Personally, I would go with a mail management solution. Sending from your server and managing your own bounce backs and receipts is a tedious and sometimes almost impossible task - better to subscribe to a service that specialises in email.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ray PaseurCommented:
Yes.  You can use Constant Contact instead of trying to write your own mail application.  They have a free trial.  Their systems have APIs that will work well with PHP scripts.  There are competitors, of course (Mailchimp, etc) but in my experience Constant Contact was everything we needed and almost embarrassingly inexpensive.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.