You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i'm trying to use Postal on a web app hosted in Azure. But get this error:
System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
This is the code i'm using:
dynamic email = new Email("Test");
email.To = "[email protected]";
System.Net.NetworkCredential credentials = new System.Net.NetworkCredential("azure_d3e************************[email protected]", "7N**********5C");
SmtpClient smtpClient = new SmtpClient("smtp.sendgrid.net", Convert.ToInt32(587));
smtpClient.Credentials = credentials;
email.Send();
And then I just
dynamic e = new Email("view");
e.Send();
However, in your code, you have an SMTP client you instantiated, but you didn't do anything with it. Not sure if it was a copy & paste error. But, if there's nothing in your config, that would never work.
Hi, i'm trying to use Postal on a web app hosted in Azure. But get this error:
System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
This is the code i'm using:
dynamic email = new Email("Test");
email.To = "[email protected]";
System.Net.NetworkCredential credentials = new System.Net.NetworkCredential("azure_d3e************************[email protected]", "7N**********5C");
SmtpClient smtpClient = new SmtpClient("smtp.sendgrid.net", Convert.ToInt32(587));
smtpClient.Credentials = credentials;
email.Send();
My Test view:
To: [email protected]
From: [email protected]
Subject: Important Message
Hello,
This is a tests!!
My web.config smtp settings:
The text was updated successfully, but these errors were encountered: