title: Sendgrid - The provided authorization grant is invalid, expired, or revoked
body: <p>I just signed up with sendgrid to send emails from my asp.net/vb.net application. I AM NOT using the API. I don't want to use the API. I just want to use the existing DotNetOpenMail library I've always used and connect to sendgrid to send emails.</p>
  <pre><code>Dim newmail1 As New EmailMessage
  adding body, from, to, bla bla bla
  Dim newserver2 As New SmtpServer(&quot;smtp.sendgrid.net&quot;, 587)
  Dim at2 As SmtpAuthToken = New SmtpAuthToken(&quot;apikey&quot;, &quot;SG.XXXXXXXXXX&quot;)
  newserver2.SmtpAuthToken = at2
  newmail1.Send(newserver2)
  </code></pre>
  <p>Obviously the XXXXX is the API KEY that I generated. I get this error</p>
  <p><em><strong>Authentication failed: The provided authorization grant is invalid, expired, or revoked.</strong></em></p>
  <p>When I config my sender authentication I gave FULL ACCESS. I don't know why this is an issue.</p>
  <p>My app is using SSL. I thought maybe I'd switch the port to 465 and re-try but when I do it just hangs. I debug and it hangs on the .Send line and literally just sits there processing. I let it go and came back 24 hours ago and the browser was still chugging away. I'm using TLS 1.2 in my app so I'd prefer to use port 587.</p>