2

Closed

Issue With Multiple SendXsltTransformedEmailExtended

description

<p>Having an issue with the SendXsltTransformedEmailExtended workflow. We have two separate forms, both with SendXsltTransformedEmailExtended tasks to send confirmation emails. The first one works, the second one doesn&#39;t. However, if I disable the workflow on the first form, the second form starts to send emails correctly. It looks like only the first one is picked up?</p> <p>&nbsp;</p> <p>Can&#39;t see anything obvious n the source that might cause this, anyone else had this?</p>

file attachments

Closed Nov 13, 2012 at 11:06 AM by Jeavon
Fixed in bdc485cc781d
Thanks Meniro!

comments

Meniro wrote Dec 6, 2011 at 11:18 AM

The SSL SMTP check needs adding to the SendXsltTransformedEmailExtended class, just as it is in the standard SendEmailExtended class.
        var smtpClient = new SmtpClient { EnableSsl = false };

        if (WebConfigurationManager.AppSettings["contourContribUseSsl"].ToLower() == true.ToString().ToLower())
        {
            smtpClient.EnableSsl = true;
        }

        smtpClient.Send(mailMessage);

amirkhan81 wrote Apr 2, 2012 at 4:08 PM

Here's the dll with this update in case anyone's interested.