Using CnSmtpConnection for mail - error handling
Posted: Fri Aug 07, 2009 12:08 pm
by NZWTA >> Fri, 24 May 2002 3:22:58 GMT
We are changing to use CardSchema to send mail. Im using userNotification to check for message completion and have subclassed CnSmtpConnection (as recommended in documentation). For a valid message this seems to be working fine. I have written an exception handler which also seems to be working OK. My problem is that validation errors raise an exception but dont seem to cause a user notification as well - and the documentation indicates they should. Is there something extra I need to do to raise the exception for the error?
We are changing to use CardSchema to send mail. Im using userNotification to check for message completion and have subclassed CnSmtpConnection (as recommended in documentation). For a valid message this seems to be working fine. I have written an exception handler which also seems to be working OK. My problem is that validation errors raise an exception but dont seem to cause a user notification as well - and the documentation indicates they should. Is there something extra I need to do to raise the exception for the error?