Base solution for your next web application
Open Closed

Azure & SendGrid - any experiences? #560


User avatar
0
cashonledger created

Hi,

I wanted to ask if anyone has experiences setting up Asp.Net Zero with Azure & SendGrid? The default fields for setting up SMTP don't match to the configuration settings of SendGrid so I wonder how to get that work.

Thanks for your feedback, Regards, Tuna


2 Answer(s)
  • User Avatar
    0
    cashonledger created

    Hi again,

    meanwhile I was able to set it up properly and now sending mails is working fine. I missed to remove check from default credentials and thus wasn't seeing the hidden fields.

    For anyone who is interested in how to set it up:

    1. Goto E-Mail settings (see <a class="postlink" href="http://www.aspnetzero.com/Documents/Development-Guide#host-settings">http://www.aspnetzero.com/Documents/Dev ... t-settings</a>)
    2. First two fields are freely configurable
    3. Set STMP host to smtp.sendgrid.net (I left SMTP port & SSL unchanged)
    4. Uncheck "Use default credentials" and provide the username SendGrid has provided to you (it should be a long string with chars & ints), also provide the password you've set for SendGrid yourself

    That should be it.

    Regards, Tuna

  • User Avatar
    0
    hikalkan created
    Support Team

    Thank you for information sharing :)