Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Christos Vogiatzis 9 posts 25 karma points
    Nov 21, 2009 @ 11:55
    Christos Vogiatzis
    0

    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

    Nov 21, 2009 @ 11:58

    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

  • Christos Vogiatzis 9 posts 25 karma points
    Nov 21, 2009 @ 13:23
    Christos Vogiatzis
    0

    Yes please do that,

    You can only set the SSL flag in the SmtpClient call.

    Thanks,

    Christos

  • Janusz Stabik 37 posts 59 karma points
    Dec 29, 2010 @ 20:52
    Janusz Stabik
    0

    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?

  • Alex Norcliffe 222 posts 287 karma points
    Dec 30, 2010 @ 13:07
  • Janusz Stabik 37 posts 59 karma points
    Jan 03, 2011 @ 16:25
    Janusz Stabik
    0

    Hi Alex

     

    I'd not tried this yet, will give it a whirl this eve.

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Apr 19, 2011 @ 11:57
    Chris Houston
    0

    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

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Apr 19, 2011 @ 12:04
    Sebastiaan Janssen
    1

    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;
  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Apr 19, 2011 @ 12:39
    Chris Houston
    0

    Hi Sebastiaan,

    Thanks for that, I will download the contrib project and give it a go :)

    Cheers,

    Chris

  • Comment author was deleted

    Apr 19, 2011 @ 12:58

    @Chris,

    Sure I'll add it to our issue tracker

  • Drew 165 posts 340 karma points
    Aug 04, 2011 @ 13:08
    Drew
    0

    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!)

  • Greg Mattison 40 posts 60 karma points
    Jan 28, 2012 @ 00:21
    Greg Mattison
    0

    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>

Please Sign in or register to post replies

Write your reply to:

Draft