House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfmailparam

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Robert Harrison
08/22/2012 01:29 PM

I just found out (with no help from the Adobe documentation) that you can get an email generated via CF mail to return a read receipt by adding the following to the mail content.      <cfmailparam name="Disposition-Notification-To" value="me@domain.com">   This is the Message Disposition Notification  -  the command that requests the user to confirm they have read the mail.   What I really want to do is confirm that the mail has been delivered. That should be something like:   <cfmailparam name="Delivery-Notification-To" value="me@domain.com"> or   <cfmailparam name="Delivery-Status-To" value="me@domain.com"> or   <cfmailparam name="Status-Notification-To" value="me@domain.com"> Does anyone know what the correct attribute is for Delivery Status Notifications?   I can't find that documented anywhere. Thanks Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022   http://www.austin-williams.com Blog:      http://www.austin-williams.com/blog Twitter:  http://www.twitter.com/austin_

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brian Thornton
08/22/2012 01:35 PM

Robert this isn't a CF feature as much as it s a W3c mail standard and is based on the mail provider ie exchange. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ben Forta
08/22/2012 01:36 PM

Short answer: It's not going to work reliably. Longer answer: You can request notification, but there is no guarantee that servers or clients will provide it. You may have more luck determining that the message was delivered to a specific mailbox on the server depending on the server used, but determining that the user actually got it and read it is close to impossible to do reliably. There are tricks and workarounds, like embedding web bugs, but even these are blocked by many clients (including Outlook) and are generally considered to be poor e-behavior. Bottom line, not doable using SMTP mail. I just found out (with no help from the Adobe documentation) that you can get an email generated via CF mail to return a read receipt by adding the following to the mail content.      <cfmailparam name="Disposition-Notification-To" value="me@domain.com">   This is the Message Disposition Notification  - the command that requests the user to confirm they have read the mail.   What I really want to do is confirm that the mail has been delivered. That should be something like:   <cfmailparam name="Delivery-Notification-To" value="me@domain.com"> or  <cfmailparam name="Delivery-Status-To" value="me@domain.com"> or <cfmailparam name="Status-Notification-To" value="me@domain.com"> Does anyone know what the correct attribute is for Delivery Status Notifications?   I can't find that documented anywhere. Thanks Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022 http://www.austin-williams.com Blog:      http://www.austin-williams.com/blog Twitter:  http://www.twitter.com/austin_

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
08/22/2012 01:37 PM

This may be off topic - but how exactly did the docs fail you? cfmailparam is documented, is it not? http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c15.html Or is your argument that an example isn't provided? > > I just found out (with no help from the Adobe documentation) that you can get an email generated via CF mail to return a read receipt by adding the following to the mail content. > >         <cfmailparam name="Disposition-Notification-To" value="me@domain.com">   This is the Message Disposition Notification  -  the command that requests the user to confirm they have read the mail. > > What I really want to do is confirm that the mail has been delivered.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
08/22/2012 01:45 PM

> I just found out (with no help from the Adobe documentation) that you can get an email generated via CF mail to return a > read receipt by adding the following to the mail content. > >         <cfmailparam name="Disposition-Notification-To" value="me@domain.com"> >         This is the Message Disposition Notification  -  the command that requests the user to confirm they have read the mail. Don't take this the wrong way, but why would this be listed in the Adobe documentation? It has nothing to do with CFMAIL really - you can send any acceptable SMTP header with CFMAILPARAM. ----- Excess quoted text cut - see Original Post for more ----- I don't think that will be likely to work in any case. These are not built into core SMTP functionality (neither are read receipts) so it's up to the recipient server to either do these things or not do them. Also, there are different "standards" out there for this. Finally, the most common standard for Delivery Status Notification (DSN) doesn't rely on a separate header - if I recall correctly, it becomes part of the RCPT TO command, like this: RCPT TO: dwatts@figleaf.com NOTIFY=SUCCESS,FAILURE,DELAY ORCPT=rfc822;dwatts@figleaf.com Here's the relevant RFC: http://tools.ietf.org/html/rfc1891 Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Robert Harrison
08/22/2012 02:07 PM

OK. I get it. It's not an Adobe thing, but it would have been helpful if the Adobe documentation said something more. It says:   Name;  Required if you do not specify file attribute;  Name of header. Case-insensitive. Mutually exclusive with file attribute.   Where it says "Name of header", that seems a bit ambiguous to me.   If it's clear to you, great.  It doesn't leave me with any more understanding of what I can put there. Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022   http://www.austin-williams.com Blog:      http://www.austin-williams.com/blog Twitter:  http://www.twitter.com/austin_wi

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Robert Harrison
08/22/2012 02:15 PM

So, I've found two headers I can use:           <cfmailparam name="Disposition-Notification-To" value="name@domain.com">           <cfmailparam name="Return-Receipt-To" value="name@domain.com " > The first one seems to work effectively. The second seems less effective. Both, however, require the user to respond. On Outlook I have options to "Request a deliver receipt" and "Request a Read Receipt".  The cfmailparam above appear to be equivalent to "Request a Read Receipt", which asks the user to send notification.   The second Outlook option "Request a Delivery Receipt" will send me a confirmation that either the email has been delivered, or at least that it was relayed. Is there an equivalent command I can use to emulate that function? Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022   http://www.austin-williams.com Blog:      http://www.austin-williams.com/blog Twitter:  http://www.twitter.com/austin_

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
08/22/2012 08:11 PM

----- Excess quoted text cut - see Original Post for more ----- I don't know. Why not send a message from Outlook to, say, a Gmail account using these, and see whether they're reflected in message headers? That said, a lot of this kind of stuff is proprietary, and doesn't work in the wide-open world of SMTP. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Azadi Saryev
08/22/2012 09:51 PM

As others have said, non of these headers are 'standard', and their implementation is dependent on mail server and mail client settings on the receiving end. MS uses 'Return-Receipt-To' header to request a DSN from the mail server. Try and see if that one works for you. Alternatively, you can always specify "failto" cfmail attribute - delivery failure notifications will be sent to the address you provide. No failure notice = mail delivered. Azadi On Thu, Aug 23, 2012 at 2:29 AM, Robert Harrison <robert@austin-williams.com> wrote: ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference