10 Answer(s)
-
0
Hi, can you check if Log.txt contains any email related errors?
-
0
here is the section for the email related error
ERROR 2018-09-18 08:50:33,244 [7 ] nHandling.AbpApiExceptionFilterAttribute - Failure sending mail. System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state) at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.BufferedReadStream.ReadAsyncResult.Read(Byte[] buffer, Int32 offset, Int32 count) at System.Net.BufferedReadStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state) at System.Net.Mail.SmtpReplyReaderFactory.ReadLinesAsyncResult.Read() at System.Net.Mail.SmtpReplyReaderFactory.ReadLinesAsyncResult.Read(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.BeginSend(SmtpConnection conn, AsyncCallback callback, Object state) at System.Net.Mail.SendMailAsyncResult.SendMailFrom() at System.Net.Mail.SmtpTransport.BeginSendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, AsyncCallback callback, Object state) at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) --- End of inner exception stack trace ---
-
0
It seems that your email configuration is incorrect.
Have you installed/configured a SMTP server on your machine at Port 80?
It is unusual to use port 80 for your SMTP port. If you are running aspnetzero on the same machine, port 80/433 should be used for your web application instead of SMTP server.
-
0
same configuration runs perfectly for SMTP Probe app
can you please provide the steps for the same if any
regards Anwar
-
0
If SMTP probe app works for you, please share the following:
- SMTP server url and port
- aspnetzero application url and port
-
0
3535 : SMTP PORT smtpout.asia.secureserver.net
-
0
Disable your Antivirus and Firewall ... Try again! <a class="postlink" href="https://social.msdn.microsoft.com/Forums/en-US/17e3f2c9-c3f8-4531-b251-11fafe46ec14/smtpclientsend-problem-results-in-quotan-established-connection-was-aborted-by-the-software-in?forum=netfxnetcom">https://social.msdn.microsoft.com/Forum ... etfxnetcom</a>
otherwise I guess you need to set SSL check. only few servers don't accept SSL.
-
0
Hello
disabled anti virus but problem still persists, just using send test email from emai(smpt) under setting in admin.
thanks Anwar
-
0
same configuration runs perfectly for SMTP Probe app
@avanekar02 do you run SMTP Probe on the same server with your web app ? Your web app server might not have access to smtp server.
-
0
Closing due to inactivity. Please reopen if you are still having this problem.