Click here to get back home

Set SMTP Server to Request Read Receipt?

 HomeNewsGroups | Search | About
 alt.www.webmaster    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Set SMTP Server to Request Read Receipt? Alex 06-12-2008
Get Chitika Premium
Posted by Alex on June 12, 2008, 1:48 pm
Please log in for more thread options
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?

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.

Thanks,

Alex





Posted by Scott Bryce on June 12, 2008, 2:19 pm
Please log in for more thread options
Alex wrote:
> 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.

Will the recipient view this as spam?

> Is there a way to configure the SMTP server to automatically request
> a "read" or "delivery" receipt for each of these e-mails?

Yes. Almost. Actually, you write it into the script.

http://www.systemnetmail.com/faq/3.3.3.aspx

From the page:

---

To request a read receipt, we need to specify a
Disposition-Notification-To header. This header is recognized my most
major mail clients to send a read receipt when the email is first read.
It's important to note that just because you request a read receipt,
doesn't' mean you will get one.

---

How exactly this is done depends on the language the script is written in.


> 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.

OK, but the recipient may have received the email, but did not send back
a confirmation. Or he received it, but it got caught in his spam
filters. I won't open an email that requests confirmation unless I know
who sent it, or the subject line makes it very clear that it is a tech
support question. I don't want to confirm to a spammer that my email
address is good. (Not that they don't already know.)

Posted by Mark Goodge on June 12, 2008, 2:40 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"

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



Similar ThreadsPosted
Anonymous SMTP Server October 9, 2005, 2:15 pm
Need an SMTP server for bulk email January 11, 2006, 1:39 pm
Good newsletter software (w/ SMTP server)?? May 21, 2005, 3:26 pm
bell sympatico is killing my smtp server November 22, 2005, 12:50 pm
next request... mail server with web mail support that'll run onIIS (or at least Windows) August 31, 2005, 6:41 pm
smtp/pop3 February 20, 2006, 12:19 pm
SMTP woes June 26, 2006, 9:48 pm
SMTP Port October 1, 2006, 8:49 pm
AffordableHost (again), smtp issues July 20, 2005, 10:31 am
Re: AffordableHost (again), smtp issues July 20, 2005, 5:27 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap