|
Posted by Alex on June 12, 2008, 7:51 pm
Please log in for more thread options > On Thu, 12 Jun 2008 10:48:24 -0700, Alex put finger to keyboard and
> typed:
>
>>One of my sites has a script that under certain circumstances sends an
>>e-mail to a recipient designated by a site visitor. In effect it allows a
>>user of the site to invite a business colleague to visit the site.
>>
>>Is there a way to configure the SMTP server to automatically request a
>>"read" or "delivery" receipt for each of these e-mails? It is easy to
>>request these receipts in Outlook and other mail clients; can one do it on
>>a
>>mail server?
>
> That, as you say, is something that's done by the mail client. In this
> case, the mail client is the script which generates the email, so it
> would need to be part of the script.
>
> You don't say what language the script is written in, but for most
> it's just a simple matter of adding an additional header when using
> whatever function is called to send mail (eg, mail() in PHP). The
> return receipt is merely an additional header set by the client, that
> looks like this:
>
> Disposition-Notification-To: user@example.com
>
> where the email address is the one that you want to receive the read
> receipt.
>
>>The goal is to allow the site operator to scan for non-delivery receipts,
>>so
>>users of the site could be alerted that their invitation did not reach the
>>intended recipient.
>
> You'll get a lot of false negatives in that case. A large proportion
> of people have their mail clients configured so as not to send
> receipts even when one is requested.
>
> Mark
> --
> Pointless waffle (again) at http://mark.x.tc
> "Every whisper, every waking hour"
Thank you, Mark and Scott. This is very helpful!
Alex
|