Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SMTP setting not workingSMTP setting not working
Previous
 
Next
New Post
7/3/2014 4:05 PM
 

Hi,

I have tried both Hotmail and Gmail, but still the test mail is not working.

first I gave

SMTP Server and port::smtp.live.com

SMTP Authentication:: basic

SMTP Username: my Hotmail account

Enable SSL : yes

Error is log is

System.Configuration.Configurati sException: Could not load provider DotNetNuke.Providers.FiftyOneClientCapabilityProvider.FiftyOneClientCapabilityProvider, DotNetNuke.Providers.FiftyOneClientCapabilityProvider







2014-07-03 16:00:36,210 [TCHATURVED-9020][Thread:10][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host







   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.SmtpConnection.GetConnection(ServicePoint servicePoint)







   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) in c:\DNN Websites\DNN7.2.2\DNN Platform\Library\Services\Mail\Mail.cs:line 112

For Gmail

SMTP Server and port::smtp.gmail.com

SMTP Authentication:: basic

SMTP Username: my gmail account

Enable SSL : yes

 

Error Log

sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host







   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.SmtpConnection.GetConnection(ServicePoint servicePoint)







   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) in c:\DNN Websites\DNN7.2.2\DNN Platform\Library\Services\Mail\Mail.cs:line 112







Thanks in advance for help

 

 













 
New Post
7/3/2014 4:57 PM
 
I take it you followed the advice from http://www.dnnsoftware.com/wiki/page/... ? If so those are known to work, so it would suggest that there is an issue for email outgoing from your webserver e.g. perhaps it does not allow smtp (port 25) access

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
7/17/2014 6:42 AM
 
A small contribution, which could be helpful for the next readers of the thread.
I also had so many problems with the SMTP setting...
2 stupid things but that made me to resolve this issue:

I could not find the email in the box test !!  -> because they went to the spam folder.

DNN continued to use old settings smpt, although I will put new ones !!  -> (In the setting show the new setting, but also work with the older)?  -> DNN accepted the new ones only after a restart of the program.

Guglielmo

 
New Post
7/17/2014 12:33 PM
 
thanks for the note Guglielmo - I suspect you hadn't realised that you must press "update" for the new settings to be saved and the used i.e. the test smtp uses the currently saved settings

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
7/18/2014 7:19 AM
 
Thanks for the estimate ... but I built my first computer 31 years ago ... I think I know what it means to the "refresh" button.

since we're on the subject, I would like to tell all the anomalies found on that occasion:
Even though I had entered the correct SMTP address and ALWAYS clicked on the  update button, DNN gave me the send test positive, but DNN continued to use the same previous wrong SMTP.
Inserting a fake SMTP (goofy.goofy) the test was still positive and correct, even if the email did not arrive. I've never had negative tests, DNN was always good at any smpt I should add. And only after I realized that it was so because he had the previous smpt stored and not changed with the correct one, that I gave him and that regularly I updated.

At the end, since the email came even if through a wrong SMTP I had entered only for testing , and since I was unable to update the SMTP with the correct values, I left it so for a week.
Then one night I dreamed of a fairy who told me "why do not you do a restart?" And so I did. and everything is back in place, Dnn used the correct SMPT I had changed.

I know, it is a granted remedy, but sometimes, because of this, people do not think of it.

Greetings!
and sorry for my english...
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SMTP setting not workingSMTP setting not working


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out