Copied to clipboard

Flag this post as spam?

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


  • Bojil Bojilov 1 post 21 karma points
    Jun 08, 2015 @ 08:16
    Bojil Bojilov
    0

    Newsletter Studio on Azure Web Sites

    Hello,

    I want to ask whether Newsletter Studio is supported on Azure Web Sites? If yes what SMTP it is using - SendGrid or something else?

    Any link to some documentation will be appreciated!

    Thanks,

    Bojil

  • Vincent Baaij 95 posts 344 karma points c-trib
    Jun 08, 2015 @ 09:06
    Vincent Baaij
    0

    Hi Bojil,

    We are using Newsletter Studio on a number of Umbraco sites on Azure. We are indeed using SendGrid for the SMTP server. You can use the free version to send up to 25000 emails per month. You can register for an account from within the Azure portal

    You configure your mail server in 2 places. First in web.config:

    <system.net>
       <mailSettings>
         <smtp>
            <network host="smtp.sendgrid.net" port="587" defaultCredentials="false" 
                     userName="sendgridusername" password="sendgridpassword" />
         </smtp>
       </mailSettings>
    </system.net>
    

    With above setting you can send mail from the site in Umbraco Forms or from .Net code. To also be able to send from NewsletterStudio, you'll need to add it to the config, either via the newsletterStudio.config file (in the \Config folder in Umbraco) or in the settings section from NewsletterStudio. Below is the code to put in the config file. Only the smtp part is complete. The others keys are only there to guide you to the right spot in the file.

    <newsletterStudio>
       <outgoingEmail>
          <smtpServers>
             <clear />
             <add name="smtp.sendgrid.net" host="smtp.sendgrid.net" port="587"
                username="sendgridusername" password="sendgridpassword#" enableSsl="false" />
          </smtpServers>
       </outgoingEmail>
    </newsletterStudio>
    

    Let me know if you have other questions.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jun 08, 2015 @ 09:15
    Markus Johansson
    0

    Hi!

    Thanks for a great anwser Vincent! =D

    The setup of the confiugration can also be done in the backoffice UI if you want to =D

    // m 

Please Sign in or register to post replies

Write your reply to:

Draft