Copied to clipboard

Flag this post as spam?

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


  • Bobi 352 posts 956 karma points
    Apr 15, 2022 @ 22:08
    Bobi
    0

    Umbraco Forms Setting up smtp

    Is there documentation on how to set up umbraco forms with an smtp service like sendgrid or mailtrap? I cannot find the settings in the back-office.

  • Mehmet Avcı 55 posts 240 karma points
    Apr 18, 2022 @ 10:23
    Mehmet Avcı
    1

    Hi,

    You can use base .net mail settings. You should define server and credentials in web.config file. SmtpClient class will use these given settings right away.

    If you would like to customize stuff, you should define your own workflows. You can find documentation on how here https://our.umbraco.com/documentation/Add-ons/umbracoforms/developer/extending/adding-a-workflowtype

    Regards,

    Mehmet

  • Ambert van Unen 175 posts 818 karma points c-trib
    Apr 19, 2022 @ 14:05
    Ambert van Unen
    100

    You just need to create a sendgrid account, create a apikey and add it to the MailSettings section in the web.config:

        <smtp from="[email protected]">
            <network host="smtp.sendgrid.net" port="587" userName="apikey" password="apikeyYouCreatedinSendGrid" />
        </smtp>
    
Please Sign in or register to post replies

Write your reply to:

Draft