<!--- Check for a SMTP address that contains the bounce flag --->
<cfif and left(form.SMTPTO,6) is "bounce" and listlen(form.SMTPTO,"-") gte 4>
<cfset campaignID=listgetat(form.SMTPTO,2,"-")>
<cfset record_id=listgetat(form.SMTPTO,3,"-")>
<cfset form_id=listfirst(listgetat(form.SMTPTO,4,"-"),"@")>
<cfset domain=listlast(form.SMTPTO,"@")>
<inlog text="Invoking Component:lfdistributedEmailPostProcessing to process bounces">
<!--- invoke the component --->
<cfinvoke component="#application.lfDistributedEmailController.lfEmailCentralPostProcessing#"
method="DataBounce"
campaignID="#campaignID#"
recordid="#record_id#"
formid="#form_id#"
lfpassword="*********"
returnvariable="lfemailReturn" />
<!--- log the resulting message --->
<inlog text="Component:lfdistributedEmailPostProcessingResult: #lfemailReturn.message#">
</cfif>
Brook
At 09:12 AM 7/1/2003 -0500, you wrote:
Howie,==^=======================================================
I created the [EMAIL PROTECTED] addresses and used them the CFX tag in the SMTPFROM, FAILTO and token_addheader_Return_Path fields.
What I was trying to find out is which form.list I should parse to retrieve these bounced addresses. This parsing should be done in the DATA.cfm template and not the ReportPostStatus.cfm, correct?
Thanks, Laurence
---------- Original Message ---------------------------------- From: "Howie Hamlin" <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> Date: Mon, 30 Jun 2003 20:26:08 -0400
>A bounced mail will not have much in the way of reliable information except for the SMTPTO or SMTPNAME because the remote server (the one that bounces the mail) does not have to conform to any kind of standards insofar as what the returned email looks like.
>
>What you should do is send the mail with a special bounce address that you can parse to determine the address of the intended recipient. For example:
>
><cfquery name="outmail" ...>
> select ID,email from emails
></cfquery>
>
><cfx_imsmail query="outmail" queryfield="email" qtoken_id="id"
> smtpfrom="bounce-<:id:>@domain" header_return_path="bounce-<:id:>@domain"
>...>
>
>So, when the email is bounced it should be bounced to the address specified which contains the ID of the recipient. You can use this information to determine who the recipient was.
>
>HTH,
>
>Howie
>
>----- Original Message -----
>From: "Laurence Hoess" <[EMAIL PROTECTED]>
>To: "inFusion Support List" <[EMAIL PROTECTED]>
>Sent: Monday, June 30, 2003 5:33 PM
>Subject: [iMS] Bounce Form List
>
>
>> If you use the DATA.CFM template to process bounces through the bounce server, do you use the form.rcptlist to get the list of bounce email addresses or SMTPFROM list?
>>
>> Thanks,
>> Laurence
This list server is Powered by iMS
"The Swiss Army Knife of Mail Servers"
--------------------------------------
To leave this list please complete the form at http://www.coolfusion.com/Support/
Need an iMS Developer license? Sign up for a free license here:
http://www.coolfusion.com/Support/
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [EMAIL PROTECTED]
==^=======================================================
