Base solution for your next web application
Open Closed

Sendgrid SMTP issues #11427


User avatar
0
Mitch created

ASP.Net Zero 11.3 JQuery.

I've read all the previous advice on implementing SendGrid SMTP for emails.

I've setup my API ID/keys and used them with the Username/Password, ensured the IP addresses are Whitelisted, tried setting up with and without SSL and tried a variety of ports but I am constantly getting "An error was encountered while sending an email. The SMTP server has unexpectedly disconnected." when I Send a Test Email.

Has anyone else seen this error message when using SendGrid SMTP with ASP.Net Zero?


1 Answer(s)
  • User Avatar
    0
    Mitch created

    I've had a response from SendGrid which has solved my issue.

    For the Username, you must type "apikey" and not use your API key ID value like I thought when following instructions. It wasn't clear that you don't actually use your API key where it says "apikey"!

    Very confusing.

    Anyway, all sorted now.