Re: isEmail vs cfmail tag

2007-10-10 Thread Tom Chiverton
On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
 It's perfectly possible for a
 validly formatted address to cause an exception when you actually try to
 email it.

 Not so sure about that, 

[EMAIL PROTECTED] just off the top of my head.

-- 
Tom Chiverton
Helping to proactively maintain clicks-and-mortar environments
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290720
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: isEmail vs cfmail tag

2007-10-10 Thread Claude Schneegans
 [EMAIL PROTECTED] just off the top of my head.

This will cause an exception in your template only if is the spooler is 
deactivated in the CF server,
something I wouldn't recommend for mass mailing.
Otherwise, the error will occur in the service which sends messages from 
the spool,
which is independant from the CF server furthermore from your templates.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290749
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: isEmail vs cfmail tag

2007-10-10 Thread Claude Schneegans
 [EMAIL PROTECTED] just off the top of my head.


H, by the way, isValid(email, [EMAIL PROTECTED])
returns no, so according to this discussion, this address should never 
be used
in CFMAIL in the first time. ;-)

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290751
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: isEmail vs cfmail tag

2007-10-10 Thread Tom Chiverton
On Wednesday 10 Oct 2007, [EMAIL PROTECTED] wrote:
 This will cause an exception in your template only if is the spooler is
 deactivated in the CF server,

Uh huh.

-- 
Tom Chiverton. Are you a great ColdFusion programmer, who knows Reactor and 
ColdSpring, and has done some Flex work ? Would you like to work for a top 30 
law firm in Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290756
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: isEmail vs cfmail tag

2007-10-10 Thread Tom Chiverton
On Wednesday 10 Oct 2007, [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] just off the top of my head.

 H, by the way, isValid(email, [EMAIL PROTECTED])
 returns no, so according to this discussion, this address should never
 be used
 in CFMAIL in the first time. ;-)

Just one more case where isValid() lies.
On my system at home, '[EMAIL PROTECTED]' delivers perfectly fine.

-- 
Tom Chiverton. Are you a great ColdFusion programmer, who knows Reactor and 
ColdSpring, and has done some Flex work ? Would you like to work for a top 30 
law firm in Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290765
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


isEmail vs cfmail tag

2007-10-09 Thread Les Mizzell
I've got a newsletter and email list management admin system set up for 
a client. There's a number of ways they can get email addresses into a 
specific list - enter through a form, import from Excel ...

I've got validation (regEX) on the input side to try and filter out bad 
addresses.

cfscript
   //IsEmail(address)
   //Returns if a str is a valid email
function IsEmail(address) {
if(REFindNoCase([[:alnum:]_\.\-]+@([[:alnum:]_\.\-]+\.)+[[:alpha:]]{2,4},address))
 
return TRUE;
else return FALSE;
}
/cfscript

Just to be sure, I run it again on the output Send a Newsletter side:

1. cfloop query=mailLIST
2.  cfif isEmail(mailLIST.sendTO)
3. cfmail from=#mailLIST.sendTO# ..

15. cfelse
16.#mailLIST.sendTO# is a bad address - delete?
17. /cfif

But, there seems to be an address or two that isEmail will allow, but 
causes cfmail will throw an error.

I need to be dead sure that whatever routine I'm using will catch 
*anything* that cfmail is going to choke on.

There's some pretty tough to validate real email address in the database 
that look like:
[EMAIL PROTECTED]

Ideas?



~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290648
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: isEmail vs cfmail tag

2007-10-09 Thread Christopher Vigliotti
can you provide more detail on how it's choking and what the output of the
#mailLIST.sendTO# variable is?

On 10/9/07, Les Mizzell [EMAIL PROTECTED] wrote:

 I've got a newsletter and email list management admin system set up for
 a client. There's a number of ways they can get email addresses into a
 specific list - enter through a form, import from Excel ...

 I've got validation (regEX) on the input side to try and filter out bad
 addresses.

 cfscript
//IsEmail(address)
//Returns if a str is a valid email
 function IsEmail(address) {

 if(REFindNoCase([[:alnum:]_\.\-]+@([[:alnum:]_\.\-]+\.)+[[:alpha:]]{2,4},address))
 return TRUE;
 else return FALSE;
 }
 /cfscript

 Just to be sure, I run it again on the output Send a Newsletter side:

 1. cfloop query=mailLIST
 2.  cfif isEmail(mailLIST.sendTO)
 3. cfmail from=#mailLIST.sendTO# ..

 15. cfelse
 16.#mailLIST.sendTO# is a bad address - delete?
 17. /cfif

 But, there seems to be an address or two that isEmail will allow, but
 causes cfmail will throw an error.

 I need to be dead sure that whatever routine I'm using will catch
 *anything* that cfmail is going to choke on.

 There's some pretty tough to validate real email address in the database
 that look like:
 [EMAIL PROTECTED]

 Ideas?



 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290651
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: isEmail vs cfmail tag

2007-10-09 Thread JediHomer
What version of CF are you running, as CF7+ has an isValid() function
that should work...

cfif isValid(email, mailLIST.sendTO)

HTH

On 09/10/2007, Les Mizzell [EMAIL PROTECTED] wrote:
 I've got a newsletter and email list management admin system set up for
 a client. There's a number of ways they can get email addresses into a
 specific list - enter through a form, import from Excel ...

 I've got validation (regEX) on the input side to try and filter out bad
 addresses.

 cfscript
//IsEmail(address)
//Returns if a str is a valid email
 function IsEmail(address) {
 if(REFindNoCase([[:alnum:]_\.\-]+@([[:alnum:]_\.\-]+\.)+[[:alpha:]]{2,4},address))
 return TRUE;
 else return FALSE;
 }
 /cfscript

 Just to be sure, I run it again on the output Send a Newsletter side:

 1. cfloop query=mailLIST
 2.  cfif isEmail(mailLIST.sendTO)
 3. cfmail from=#mailLIST.sendTO# ..

 15. cfelse
 16.#mailLIST.sendTO# is a bad address - delete?
 17. /cfif

 But, there seems to be an address or two that isEmail will allow, but
 causes cfmail will throw an error.

 I need to be dead sure that whatever routine I'm using will catch
 *anything* that cfmail is going to choke on.

 There's some pretty tough to validate real email address in the database
 that look like:
 [EMAIL PROTECTED]

 Ideas?



 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290653
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: isEmail vs cfmail tag

2007-10-09 Thread Tom Chiverton
On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
 What version of CF are you running, as CF7+ has an isValid() function
 that should work...

 cfif isValid(email, mailLIST.sendTO)

Although that only performs a syntax check. It's perfectly possible for a 
validly formatted address to cause an exception when you actually try to 
email it.

-- 
Tom Chiverton
Helping to evangelistically harness out-of-the-box e-services
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290657
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: isEmail vs cfmail tag

2007-10-09 Thread J.J. Merrick
If you are on MX7 do IsValid with the email attribute. I have found
that whatever logic IsValid uses is the same as what cfmail will bomb
on.


J.J.

On 10/9/07, Les Mizzell [EMAIL PROTECTED] wrote:
 I've got a newsletter and email list management admin system set up for
 a client. There's a number of ways they can get email addresses into a
 specific list - enter through a form, import from Excel ...

 I've got validation (regEX) on the input side to try and filter out bad
 addresses.

 cfscript
//IsEmail(address)
//Returns if a str is a valid email
 function IsEmail(address) {
 if(REFindNoCase([[:alnum:]_\.\-]+@([[:alnum:]_\.\-]+\.)+[[:alpha:]]{2,4},address))
 return TRUE;
 else return FALSE;
 }
 /cfscript

 Just to be sure, I run it again on the output Send a Newsletter side:

 1. cfloop query=mailLIST
 2.  cfif isEmail(mailLIST.sendTO)
 3. cfmail from=#mailLIST.sendTO# ..

 15. cfelse
 16.#mailLIST.sendTO# is a bad address - delete?
 17. /cfif

 But, there seems to be an address or two that isEmail will allow, but
 causes cfmail will throw an error.

 I need to be dead sure that whatever routine I'm using will catch
 *anything* that cfmail is going to choke on.

 There's some pretty tough to validate real email address in the database
 that look like:
 [EMAIL PROTECTED]

 Ideas?



 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290665
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: isEmail vs cfmail tag

2007-10-09 Thread Claude Schneegans
 It's perfectly possible for a
validly formatted address to cause an exception when you actually try to
email it.

Not so sure about that, since the message is not sent by the CF server 
it self.
If there is an exception, it can be for any other reason, like an 
invalid value in some other attribute,
but not because of the address if it is syntactically correct.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290666
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: isEmail vs cfmail tag

2007-10-09 Thread Robert Rawlins - Think Blue
http://www.bennadel.com/blog/265-ColdFusion-Email-Validation-IsValid-And-CFM
ail-Errors.htm

Might be worth a read, I know there have been problems with this.

Rob

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: 09 October 2007 16:55
To: CF-Talk
Subject: Re: isEmail vs cfmail tag

 It's perfectly possible for a
validly formatted address to cause an exception when you actually try to
email it.

Not so sure about that, since the message is not sent by the CF server 
it self.
If there is an exception, it can be for any other reason, like an 
invalid value in some other attribute,
but not because of the address if it is syntactically correct.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.




~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290673
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: isEmail vs cfmail tag

2007-10-09 Thread Russ
Actually, if the email is being sent to an address hosted at the email
server through which the email is being sent, and the server replies saying
something like 'This email doesn't exist', CF will fail the mail and put it
in the undeliverable folder.  I don't believe it will cause an exception
(unless maybe the emails are not set to be spooled in the admin?).  

Russ



 -Original Message-
 From: Claude Schneegans [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 09, 2007 11:55 AM
 To: CF-Talk
 Subject: Re: isEmail vs cfmail tag
 
  It's perfectly possible for a
 validly formatted address to cause an exception when you actually try to
 email it.
 
 Not so sure about that, since the message is not sent by the CF server
 it self.
 If there is an exception, it can be for any other reason, like an
 invalid value in some other attribute,
 but not because of the address if it is syntactically correct.
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290674
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: isEmail vs cfmail tag

2007-10-09 Thread Claude Schneegans
 I don't believe it will cause an exception.

It can't. Anyway the template which sent the message cannot get an 
exception since it
is not running anymore. The CFMAIL tag only drops a copy of the message 
in the spool.

Now I think the spool may be deactivated in the server.
Don't know what happens in this case.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290677
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: isEmail vs cfmail tag

2007-10-09 Thread Rick Root
On 10/9/07, Russ [EMAIL PROTECTED] wrote:
 Actually, if the email is being sent to an address hosted at the email
 server through which the email is being sent, and the server replies saying
 something like 'This email doesn't exist', CF will fail the mail and put it
 in the undeliverable folder.  I don't believe it will cause an exception
 (unless maybe the emails are not set to be spooled in the admin?).

that is correct, if spooling is disabled, cfmail will throw an
exception on delivery failure.  This of course is REALLY REALLYL slow.

-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.com

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290679
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: isEmail vs cfmail tag

2007-10-09 Thread Rick Root
On 10/9/07, Claude Schneegans [EMAIL PROTECTED] wrote:
  I don't believe it will cause an exception.

 It can't. Anyway the template which sent the message cannot get an
 exception since it
 is not running anymore. The CFMAIL tag only drops a copy of the message
 in the spool.

Yes, it can, if spooling is disabled.   the cfmail tag will throw
whatever error message it gets from the remote SMTP server.

-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.com

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290680
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: isEmail vs cfmail tag

2007-10-09 Thread Matt Robertson
Chasing the perfect regex in this circumstance is like trying to herd
cats.  Figure something screwy will always come up and meow at you
from behind, but if you error-proof your app no matter what shows up
you will chug along.

I carved the example below from one of my mail trickler tutorials.  I
personally prefer to store the error record in a single database
record (tied to a EZ-PZ GridMonger grid for administrative display) as
what you see below can get pretty monstrous if there are more than a
few errors.  Doing it that way also lets me cfdump out more scopes for
better diagnosis.  Then I just send a 'hey dummy' email to the admin
telling them to check the error log.

cfset variables.errArray=ArrayNew(2)
cfloop
  query=MailList
  cftry
  cfmail
 to=#MailList.EmailAddr#
 from=#MailList.EmailFrom#
 subject=#MailList.EmailSubject#
 server=#MailList.EmailServer#
 type=HTML
  #MailList.EmailMsg#
  /cfmail
  cfcatch type=ANY
 cfset arrayAppend(variables.errArray[1],MailList.ID)
 cfset arrayAppend(variables.errArray[2],MailList.EmailAddr)
 cfsavecontent variable=variables.diaginfo
 cfdump var=#cfcatch# label=Read This You Poor Sap
 /cfsavecontent
 cfset arrayAppend(variables.errArray[3],variables.diaginfo)
  /cfcatch
  /cftry
/cfloop
cfmail
  to=[EMAIL PROTECTED]
  from=[EMAIL PROTECTED]
  subject=OOPS!
  server=mail.mydomain.com
  type=HTML
cfdump var=#variables.errArray# label=Error List
/cfmail



On 10/9/07, Rick Root [EMAIL PROTECTED] wrote:
 On 10/9/07, Russ [EMAIL PROTECTED] wrote:
  Actually, if the email is being sent to an address hosted at the email
  server through which the email is being sent, and the server replies saying
  something like 'This email doesn't exist', CF will fail the mail and put it
  in the undeliverable folder.  I don't believe it will cause an exception
  (unless maybe the emails are not set to be spooled in the admin?).

 that is correct, if spooling is disabled, cfmail will throw an
 exception on delivery failure.  This of course is REALLY REALLYL slow.

 --
 Rick Root
 Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
 www.opensourcecf.com

 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290685
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: isEmail vs cfmail tag

2007-10-09 Thread Claude Schneegans
 Yes, it can, if spooling is disabled.   the cfmail tag will throw
whatever error message it gets from the remote SMTP server.

Ok, but not really recommended for mass mailing.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290688
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: isEmail vs cfmail tag

2007-10-09 Thread Russ
Hmm... I though CF enterprise boasted 2 million emails per hour only with
spooling disabled... 

Russ

 -Original Message-
 From: Claude Schneegans [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 09, 2007 3:45 PM
 To: CF-Talk
 Subject: Re: isEmail vs cfmail tag
 
  Yes, it can, if spooling is disabled.   the cfmail tag will throw
 whatever error message it gets from the remote SMTP server.
 
 Ok, but not really recommended for mass mailing.
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290693
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: isEmail vs cfmail tag

2007-10-09 Thread Claude Schneegans
 I though CF enterprise boasted 2 million emails per hour only with
spooling disabled...

On the same destination server, may be.
I just don't think this is possible. Some servers will take seconds 
before they send an answer.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290707
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4