i'm trying to find out how the sendEmail service works.
it has an exception handling included which I've tried to test, but in case of a malformed emailaddress the process stops, I don't want to stop, I want to set an other action in case of this error.
I think of email addresses coming out of a db, where it isn't guaranteed that their format is ok.
java.io.InvalidClassException: javax.mail.MessagingException; local class incompatible: stream classdesc serialVersionUID = -6388198985190878204, local class serialVersionUID = -7569192289819959253
at com.adobe.idp.dsc.provider.impl.base.AbstractResponseHolder.handleException(AbstractResponseHolder.java:161)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkBindingStubUtil.deSerializeResponse(SoapSdkBindingStubUtil.java:122)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatcher.java:128)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:57)
I don't have a system in front of me, so I can't check this, but I'm reasonably sure that there is a little "lightning bolt" icon on the Email component. If you drag from here to another step in your process, and select the appropriate exception, I'm pretty sure your process will go to that step on the exception, rather than stalling.
If this doesn't work, then email info-at-avoka.com and I'll have a closer look.
I would like the same functionality as Johannes. However I am using the sendEmailWithDocument-service and this does not offer the possibility of exception handling. How can I workaround this - or will exception handling be part of this service in a later release?