Send Secure mail from a Service Application

Hello All,

Was anyone able to send a secure mail from a service application? I’m specifically stating a service application here, because I know it works when there is a UI involved, and I know about scoping of the SMTP class entity.

Thanks for your help.

Issue solved.

Thanks

it would be nice to explain what solution you find, so that further readers may learn from you.
thanks.

The application is sending the email fine using the SMTPSecureSocket examples given in this forum. My application was exiting too soon before the email was sent, because of an unexpected error.