Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...SMTP Server Settings PROBLEM DNN 04.08.02SMTP Server Settings PROBLEM DNN 04.08.02
Previous
 
Next
New Post
6/26/2008 8:28 AM
 

Look at the SMTP log files

Jeff

 
New Post
6/26/2008 10:44 PM
 

This is what was in the Event Log. I have tried various settings in the SMTP Server

AssemblyVersion: 04.08.02
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 16
ActiveTabName: Host Settings
RawURL: /DNN/Host/Host Settings/tabid/16/portalid/0/Default.aspx
AbsoluteURL: /DNN/Default.aspx
AbsoluteURLReferrer: http://www.freethoughtis.com/DNN/Host/Host%20Settings/tabid/16/portalid/0/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 87c6070c-2adb-49f6-aeec-e5c057b7295e
InnerException: Syntax error in parameters or arguments. The server response was: 5.1.7 Bad sender address syntax
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Net.Mail.MailCommand.CheckResponse
StackTrace:
Message: System.Net.Mail.SmtpException: Syntax error in parameters or arguments. The server response was: 5.1.7 Bad sender address syntax at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, String ReplyTo, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String[] Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
Source:

 
New Post
6/27/2008 1:52 PM
 

Jeff,

I did some further testing on this issue and discovered that although the STMP TEST function is throwing an error,
the site is still capable of sending email. I tried registering a new user, creating a new portal and changing a password
and received emails for all three.

As long as it does not impact any functionality I am not too concerned about the error but would be interested in why it is happening.

Any insight you con provide will be greatly appreciated.

Lou

 

 
New Post
8/23/2008 5:11 PM
 

My hosting company is CrystalTech. Apparently the SMTP test uses the host's e-mail for the "from" address when sending the test e-mail. CrystalTech requires that the "from" e-mail address be on your hosted domain. When I originally set up my portal at home, I specified an e-mail address for the host account (non-CrystalTech host). When I moved DNN to CrystalTech and tested SMTP with their SMTP server, I looked in the DNN Event Viewer (Admin menu), and the exception generated by the SMTP test said "Mailbox unavailable. The server response was: No such user here. Then I changed the host account e-mail address so that it was an address on my domain hosted by CrystalTech. I tried it again and still got the same exception. I checked in all of my portals and users and the host's address "johnXXXX@XXXX.org" no longer existed. Somehow DNN was still using this as the from address when doing the SMTP test. I thought it might be cached so I restarted the DNN application (bottom of host settings). Still, it used this old address.

Then I discovered (after reading other posts) that other site e-mails are sent using administrator's e-mail address which are on domains hosted by CrystalTech so the e-mails worked. This seems like a bug in DNN. I wonder where it gets this address from?

 
New Post
9/1/2008 12:09 PM
 

Hi,

I'm having the same problem with dotnenuke portals hosted with Crystaltech, I have one installation with several child portals. For example :

Main portal : www.mainportal.com

Child Portals :

In the Host Settings I have the following settings :

 Host Details :

  • Host portal : mainportal
  • Host URL : http://www.mainportal.com
  • Host Email : info@mainportal.com (this is a valid email account configured at CrystalTechs mail server : mail.mainportal.com)

SMTP Server Settings

  • SMTP Server and port : mail.mainportal.com
  • SMTP Authentication : Basic
  • SMTP Username: example@mainportal.com
  • SMTP Password : examplepassowrd

For the main portal the admin account e-mail is a valid e-mail configured in the domain mail server (example : info@mainportal.com) , for the child portals admin acoount e-mail I use an address that is on a another domain that   (example : info@child1.com).

All of my portals use verified registration, and now most of the times the verification email isn't sent and I get an error in the dotnetnuke event log : 

AssemblyVersion: 04.05.05
PortalID: 0
PortalName: mainportal
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Home/tabid/36/ctl/Register/Default.aspx?returnurl=%2fHome%2ftabid%2f36%2fDefault.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.mainportal.com/Home/tabid/36/ctl/Register/Default.aspx?returnurl=%2fHome%2ftabid%2f36%2fDefault.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2; .NET CLR 3.5.21022)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2e669515-9328-4fec-a0db-e7e0f5d9d3c4
InnerException: Mailbox unavailable. The server response was: <example@mailserver.com> No such user here
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Net.Mail.SmtpTransport.SendMail
StackTrace:
Message: System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: <pedro_mc@hotmail.com> No such user here at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, Mailformat Bodyformat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
Source:
Server Name: WEBD63

I say most of the times, because on a few times the   verification e-mail for portal registration is sent. And I am pretty confident that in the beginning of the month this was working fine.  I have 2 installations of dotnetnuke with crystaltech one is version 4.5.5 and the other is version 4.8.2 and I have this issue on both of them.

I will open a support ticket to crystaltech tech support and I will post any info here.

Best Regards,

Pedro Costa

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...SMTP Server Settings PROBLEM DNN 04.08.02SMTP Server Settings PROBLEM DNN 04.08.02


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out