Has anyone create a custom workflow type as Tim suggested above?
@Tim - Is it likely to be added as an option for future versions as SSL connections are very common, especially as a lot of companies are now using Google Apps to host their email.
Not yet, but could easily be done by modifying one of the Contour Contrib workflow types. Remember you need to add a bit of code, "EnableSsl" unfortunately is not enough, here's how I solved it in my contact form package:
var client = new SmtpClient { EnableSsl = false };
if (GetPropertyFromAlias("contactMailSmtpEnableSsl") == "1")
client.EnableSsl = true;
Hello, we cannot get Contour forms to send emails, though the recipients are setup and the mail settings below are correct. We tested these mail setting in code outside of Umbraco and it worked. However, we cannot get it to work in Umbraco. We have tried several configurations of this as well and no success. Any ideas?
Contour and SSL in SMTP
Hi guys,
Is there any way to configure the Contour Email Workflow to use SSL for SMTP?? We have our company email in Google Apps and this is a must for us.
Thanks,
Christos
Comment author was deleted
Hi Christos,
Looks like you can't enable SSL in the web.config. You'll have to create a custom workflow type. I'll look into providing an example on monday.
Regards,
Tim
Yes please do that,
You can only set the SSL flag in the SmtpClient call.
Thanks,
Christos
Hi, is there any news on this. We also use google apps for our emails and as such we need contour to be able to send through SSL?
Has anyone tried EnableSSL in configuration? http://msdn.microsoft.com/en-us/library/system.net.configuration.smtpnetworkelement.aspx
Hi Alex
I'd not tried this yet, will give it a whirl this eve.
Hi All,
Has anyone create a custom workflow type as Tim suggested above?
@Tim - Is it likely to be added as an option for future versions as SSL connections are very common, especially as a lot of companies are now using Google Apps to host their email.
Cheers,
Chris
Not yet, but could easily be done by modifying one of the Contour Contrib workflow types. Remember you need to add a bit of code, "EnableSsl" unfortunately is not enough, here's how I solved it in my contact form package:
Hi Sebastiaan,
Thanks for that, I will download the contrib project and give it a go :)
Cheers,
Chris
Comment author was deleted
@Chris,
Sure I'll add it to our issue tracker
Just for reference, I had to provide SMTP over SSL for client using Google Apps (who require SSL for SMTP).
The 'Email Extended' part of ContourContrib now fully supports SMTP over SLL - and it works great!
http://contourcontrib.codeplex.com/documentation
(Don't forget to add the key to your web.config appsettings section too!)
Hello, we cannot get Contour forms to send emails, though the recipients are setup and the mail settings below are correct. We tested these mail setting in code outside of Umbraco and it worked. However, we cannot get it to work in Umbraco. We have tried several configurations of this as well and no success. Any ideas?
<system.net>
<mailSettings>
<smtp from="[email protected]">
<network enableSsl="true" host="smtp.gmail.com" userName="[email protected]" password="xxxxxxx" port="587" defaultCredentials="false"/>
</smtp>
</mailSettings>
</system.net>
is working on a reply...