We do use cftry/cfcatch like the following. (see below)
But there must be an easier way since we
have to put the HTML-coding inside twice in
the starting template (mailing_sending.cfm) which is the following coding
and in mailing_sending_error.cfm.
Or what do you think ?
Uwe
<cfquery name="anything" datasource="foo" dbtype="ODBC">
SELECT * FROM blabla
ORDER BY email asc
</cfquery>
<cfset row_aktuell = 1>
<cfloop query="anything" startrow="#row_aktuell#">
<cfset row_aktuell = row_aktuell + 1>
<cftry>
<cfmail to="[EMAIL PROTECTED]"
from="HouseOFFusion <...>"
subject="having problems with CFMX-eMails"
charset="iso-8859-1">
<cfmailparam name="Reply-To" value="HouseOFFusion <...>">
<cfmailpart
type="text">
ascii-text goes here
</cfmailpart>
<cfmailpart
type="html">
html-coding goes here
</cfmailpart>
</cfmail>
<cfcatch type="Any">
<cflocation url=""> </cfcatch>
</cftry>
</cfloop>
TK> How about using cftry and cfcatch? Or am I missing the main idea behind your question?
TK> TK
TK> ----- Original Message -----
TK> From: [EMAIL PROTECTED]
TK> To: CF-Talk
TK> Sent: Saturday, November 01, 2003 6:21 PM
TK> Subject: emailings with cfmx and bad syntax email-adresses
TK> Hi list, we are using
TK> CFMX 6.1 now for bulk eMailings
TK> for double opt-in built lists.
TK> We do check the eMail-syntax before
TK> we send out the eMails.
TK> But from time to time there is an eMail
TK> which we missed to check or where the check
TK> routine fails.
TK> And then the eMail-adress stays with the bad syntax.
TK> CFMX 6.1 runs in an error and
TK> isn't carrying on the sending routine.
TK> This is pretty annoying since you have to
TK> restart the process or try to carry on from
TK> the exact same point where it stopped.
TK> Does anyone have an idea how to overcome
TK> this problem ?
TK> Uwe
TK>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

