Does returnfailure return a code.
that way if get a code that it is a bad address, then mark the email as inactive.

Si Chen sent the following on 11/2/2006 4:45 PM:
Hi -

Just found a couple of email-related issues which I think should be fixed like this:

1. sendMail returns error when there's a problem sending the email. The problem is that this rolls back a whole transaction, including one that is sending emails to everybody on a contact list. I modified it to return failure instead, and it seems to be working better. Is it ok if I change it to returnFailure, or would it cause any problems?

2. UtilValidate.isEmail has code which checks for the "." in an email commented out in 2001. Do we still want this commented out? Is it ok if I made two forms of this, one with an optional parameter to require the dot? That would make our email program much more robust.

Separately I think I need to do some stuff to clean up the way contact list emails, comm events, etc. work, so if I could get these out of the way it'd really help.

Best Regards,

Si
[EMAIL PROTECTED]




Reply via email to