Copied to clipboard

Flag this post as spam?

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


  • stefanie27 14 posts 72 karma points
    Nov 28, 2021 @ 10:42
    stefanie27
    0

    Using Sendgrid as SMTP in Umbraco 9

    Hello Umbraco community,

    I want to use Sendgrid as SMTP for my Umbraco v9 website. I can see, how to configure the information here: https://our.umbraco.com/documentation/umbraco-cloud/Set-up/SMTP-settings/#configure-smtp-settings

    I assume it uses username and password for basic authentication.

    In following Sendgrid article it's mentioned that basic authentication isn't supported anymore. https://docs.sendgrid.com/for-developers/sending-email/authentication#basic-authentication

    Did someone use Sendgrid SMTP in Umbraco 9, which uses API Key (Authorization: Bearer 'Your-API-Key-Here') for authentication?

    Regards, Stefanie.

  • Kenneth Solberg 227 posts 418 karma points
    Nov 28, 2021 @ 13:52
    Kenneth Solberg
    0

    You can use Sendgrid as an SMTP Server. You'll find the instructions here:

    https://docs.sendgrid.com/for-developers/sending-email/integrating-with-the-smtp-api

    "Umbraco": {
        "CMS": {
            "Global": {
                "Smtp": {
                    "From": "person@umbraco.dk",
                    "Host": "smtp.sendgrid.net",
                    "Username": "apikey",
                    "Password":  "generated-api-key-here"      
                }
             }
        }
    },
    

    Also make sure configure Sender authentication for the domain you'll send from to prevent mail from ending in the recipients spam folder.

  • stefanie27 14 posts 72 karma points
    Nov 28, 2021 @ 14:23
    stefanie27
    0

    Hi Kenneth,

    Thanks for getting back to me.

    I understand that part from the Umbraco and Sendgrid documentation. I just want to get clarification, if the authentication in Umbraco for SMTP is Basic authentication (Which isn't supported in Sendgrid anymore according to https://docs.sendgrid.com/for-developers/sending-email/authentication#basic-authentication)?

    Regards, Stefanie.

  • Brian Freeman 1 post 21 karma points
    Apr 21, 2022 @ 22:31
    Brian Freeman
    0

    The link is about the web api, not smtp protocol

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies