This is a step by step tutorial for getting to know when your email was read or not using php script in the mail.
1. You might need a handful www server with php enabled in advance. (e.g. apache + php) In my computer, I run appserv for Windows XP. It is easy to get. (http://www.appservnetwork.com/)
2. Download PHPMailer. (http://phpmailer.worxware.com/) We need it to connect to the gmail SMTP to access an account as the mail sender.
3. After extracting the file of PHPMailer, modify the file in example folder to fit your own situation. (I want to use my gmail, so I modified the file "test_smtp_gmail_basic.php".)
4. Embedded the code in the mail you want to trace. (Put it as if it's a image in the mail. This is only useful for a HTML supported mail. As long as your recipient doesn't disable the function....)
5. You will get a mail notification once your mail was read.
No comments:
Post a Comment