Anyone who's ever used Microsoft Outlook will be familiar with the Delivery Receipt and Read Receipt options, but how can we implement them with PHP? Sadly, the delivery receipt is an Exchange feature, but a read receipt we can do.
$headers = "From: Your Name<email@example.com>\n";
$body ="Body Text";
mail("firstname.lastname@example.org", "Read Receipt Test", $body, $headers);
>> Posted in Websites at 16:11, and viewed 5,300 times
Next article: Mailto: Syntax (16 March 2010)
Next Websites article: PHP Mail Delivery and Read Receipts (09 April 2010)
Add your comments