Hi, i'm trying to configure the SMTP Server Settings for DNN with no luck, the error that i get reads, "Failure sending mail." this doesn't give me much to work with! I'm using DNN for an intranet site, the DNN server is in one machine, the mail server is
in another machine and I'm on a different machine. DNN is running on W2K server sp4 i have tried all differnet settings in DNN and i get the same error. What am i missing?
By setting SMTP Authentication: Anonymous you should not need a Username/Password.
Try setting SMTP Authentication: Basic
Also, the log in your mail server should tell you why it is rejecting an incoming message. Since you mentioned you are on an Intranet I will assume you have access to the mail server or a phone call away from the mail server
Administrator.
ok, i've looked around and i found this in the log viewer, it looks like it can't make a connection with the mail server or something.... has anybody seen this before? any suggesttions?
AssemblyVersion: -1 Method: FileName: FileLineNumber: -1 FileColumnNumber: -1 PortalID: -1 PortalName: UserID: -1 UserName: ActiveTabID: -1 ActiveTabName: AbsoluteURL: AbsoluteURLReferrer: ExceptionGUID: DefaultDataProvider: InnerException: Failure sending mail. Message: System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine at
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&
socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async,
IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout) at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback) at System.Net.PooledStream.Activate(Object owningObject,
GeneralAsyncDelegate asyncCallback) at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout) at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpTransport.GetConnection(String
host, Int32 port) at System.Net.Mail.SmtpClient.GetConnection() 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.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) StackTrace: Source: Server Name: DOTNETNUKE
Fred79
Member
155 Points
36 Posts
SMTP Failure sending mail.
Apr 05, 2006 06:04 PM|LINK
Hi, i'm trying to configure the SMTP Server Settings for DNN with no luck, the error that i get reads, "Failure sending mail." this doesn't give me much to work with! I'm using DNN for an intranet site, the DNN server is in one machine, the mail server is in another machine and I'm on a different machine. DNN is running on W2K server sp4 i have tried all differnet settings in DNN and i get the same error. What am i missing?
here is what my settings look like:
SMTP server: mail.#####.com
SMTP Authentication: Anonymous
SMTP Username: fred@#####.com
SMTP password: *******
mzns1
Participant
1025 Points
205 Posts
Re: SMTP Failure sending mail.
Apr 05, 2006 07:36 PM|LINK
By setting SMTP Authentication: Anonymous you should not need a Username/Password.
Try setting SMTP Authentication: Basic
Also, the log in your mail server should tell you why it is rejecting an incoming message. Since you mentioned you are on an Intranet I will assume you have access to the mail server or a phone call away from the mail server Administrator.
mikez
Fred79
Member
155 Points
36 Posts
Re: SMTP Failure sending mail.
Apr 25, 2006 05:19 PM|LINK
AssemblyVersion: -1
Method:
FileName:
FileLineNumber: -1
FileColumnNumber: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
AbsoluteURL:
AbsoluteURLReferrer:
ExceptionGUID:
DefaultDataProvider:
InnerException: Failure sending mail.
Message: System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout) at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback) at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback) at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout) at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpClient.GetConnection() 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.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)
StackTrace:
Source:
Server Name: DOTNETNUKE
jeff@zina.co...
All-Star
87677 Points
11637 Posts
Moderator
Re: SMTP Failure sending mail.
Apr 25, 2006 06:16 PM|LINK
Check the mail server logs for what might be going on.
Jeff
Fred79
Member
155 Points
36 Posts
Re: SMTP Failure sending mail.
Apr 29, 2006 08:17 PM|LINK