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<firstname.lastname@example.org>\n";
$body ="Body Text";
mail("email@example.com", "Read Receipt Test", $body, $headers);
>> Posted in Websites at 16:11, and viewed 5,651 times
Next article: Mailto: Syntax (16 March 2010)
Next Websites article: PHP Mail Delivery and Read Receipts (09 April 2010)
Add your comments