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 strange errorsSMTP strange errors
Previous
 
Next
New Post
1/16/2015 5:16 PM
 

Using DNN 7.3.4, have configured and tested the outgoing (SMTP) capabilities of both Admin and Host without any errors. The SMTP authentication is set to Basic. BTW - when I tested with anonymous authentication the test emails went through alright.

Dispatched a testing newsletter to numerous e-mail addresses  without any error, too.

But when it came to editing a profile of a registered user or upon changing his password instead of a notification email message came the errors like below:

AssemblyVersion:7.3.4

PortalID:0

PortalName:Greg Greensky Portal - usługi edukacyjne, językowe, usługi IT

UserID:6

UserName:Grzegorz

ActiveTabID:289

ActiveTabName:Profil użytkownika

RawURL:/pl/Profil-użytkownika/ctl/Profile/userId/6/pageno/1

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://greg-greensky.net/pl/Profil-u%c5%bcytkownika/ctl/Profile/userId/6/pageno/1

UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; MAAU; rv:11.0) like Gecko

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:8e377e74-0212-405d-afce-fce84a1fe8ac

InnerException:The SMTP server requires a secure connection or the client was not authenticated. The server response was: SMTP authentication is required.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:System.Net.Mail.RecipientCommand.CheckResponse

StackTrace:

Message:

System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: SMTP authentication is required.
   at System.Net.Mail.RecipientCommand.CheckResponse(SmtpStatusCode statusCode, 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)
   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)

Source:

Does anyone around here know how to tackle this issue?

The SMTP is already set, there were no problems when testing the outgoing mail on Admin or HostSettings.

I'm getting tired.

 


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
New Post
1/17/2015 5:47 AM
 
maybe the error message is not correct and the SMTP account just lacks the ability of "relaying".

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/20/2015 4:03 PM
 

It looks Sebastian was right again. Thanks, Boss.

Arvixe, where my portal got moved recently, don't offer the relay capabilities of their mail servers.

I checked that when I changed my DNN 7.3.4 host and admin SMTP configuration to my private e-mail account on smtp.gmail.com and all worked flawlessly.

Are there any arvixe users on this forum who could shed some light on their experience with arvixe mail servers for me?


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
New Post
1/22/2015 4:17 AM
 

Premature joy of mine.

The SMTP problem continues. And it doesn't have to do with Arvixe, I think but something's buggy with my DNN 7.3.4 handling of SMTP Site Settings.

When I set up the SMTP Site Settings with ff. data:

SMTP Mode Portal: Host
SMTP Server and port: smtp.gmail.com:587
SMTP Authentication: Basic
SMTP Enable SSL: True (Checked)
SMTP Username: [email protected]
SMTP Password: ●●●●●●●● (note the number of dots masking the password: 8)

and hit the "Test SMTP Settings" button I get the "Email Sent Successfully from [email protected] to [email protected]".

But when I update the Settings by hitting the "Update" button then the masked SMTP password gets changed to ●●●●●●●●●●●●●●●●●●●●●●●● (24 dots) and again hit the "Test SMTP Settings" I get the "There has been an error trying to send the test email. The error is: There is a problem with the configuration of your SMTP Server. Mail was not sent."

and the Event Viewer showed:

2015-01-22 00:50:25,456 [Anemone][Thread:22][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at    at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)    at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)    at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)    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)

My site is dually localized and in the DB PortalSettings table there are two rows with SMTPPassword SettingName values: one for pl-pl and the other for en-US. Both hashed passwords are different but it's understandable.

However, the password after updating the SMTP Portal Setting gets mixed in some way and no longer works.

I don't have any such problems with PortalSettings (EDIT: it should read HostSettings) as there is only one SMTP setting in the database table and all works as expected and the number of dots in the masked password agrees with the number of characters in the password.

I'm getting tired again. Two days of testing wasted only to find out that something's wrong with the SMTP configuration logic.

Anyone out there who can tell me how to effectively configure a localized portal SMTP Settings?


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
New Post
1/22/2015 9:50 AM
 

To attract some attention I have just created an issue report at atlassian https://dnntracker.atlassian.net/brow....

 Thank you and goodnight.


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SMTP strange errorsSMTP strange errors


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