When an external email notification is sent to a new registrant that they've received a badge an error is sometimes logged into log.resources file
Clear Steps to Reproduce:
Step 1 - I log in as Host Step 2 - I setup SMTP as localhost to use with PaperCut Step 3 - I hit the site as Anonymous user Step 4 - I register on the iste Step 5 - I check Papercut for Welcome Email for new user Step 6 - I check log.resources file for any errors
Actual Result:
Actual Result 1 - Welcome email to new registrant is sent Actual Result 2 - A notification email is sent "Congratulations! You have earned a new Badge - Getting started" Actual Result 3 - I do get an error in log.resource file about 90 seconds BEFORE the Welcome email appears in Papercut:
2013-03-14 09:44:07,224 [TST-KG-WSRV8A][Thread:49][ERROR] DotNetNuke.Services.Exceptions.Exceptions - 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.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
— End of inner exception stack trace —
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.DelegatedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.BufferedReadStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)
at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String& response)
Brief Description of Issue:
When an external email notification is sent to a new registrant that they've received a badge an error is sometimes logged into log.resources file
Clear Steps to Reproduce:
Step 1 - I log in as Host
Step 2 - I setup SMTP as localhost to use with PaperCut
Step 3 - I hit the site as Anonymous user
Step 4 - I register on the iste
Step 5 - I check Papercut for Welcome Email for new user
Step 6 - I check log.resources file for any errors
Actual Result:
Actual Result 1 - Welcome email to new registrant is sent
Actual Result 2 - A notification email is sent "Congratulations! You have earned a new Badge - Getting started"
Actual Result 3 - I do get an error in log.resource file about 90 seconds BEFORE the Welcome email appears in Papercut:
2013-03-14 09:44:07,224 [TST-KG-WSRV8A][Thread:49][ERROR] DotNetNuke.Services.Exceptions.Exceptions - 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.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
— End of inner exception stack trace —
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.DelegatedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.BufferedReadStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)
at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String& response)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
— End of inner exception stack trace —
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at DotNetNuke.Services.Mail.Mail.SendMailInternal(MailMessage mailMessage, String subject, String body, MailPriority priority, MailFormat bodyFormat, Encoding bodyEncoding, IEnumerable`1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL)
Expected Result:
Expected Result 1 - Should not be any errors in log.resources file
Note:
I only have LOCALHOST in my stmp server settings