Trying to set up Gmail as SMTP mail server. Not having much luck. followings are my entries
SMTP Mode : Site, SMTP Server and port: SMTP.gmail.com (tried these too SMTP.gmail.com:25 , SMTP.gmail.com:465)
SMTP Authentication: Basic, SMTP Enable SSL: Checked, User Name: Myid.gamil.com, Password: Mypassword.
Appreciate your help.
Following is from Event viewer.
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:af05d02e-d67d-47f4-8840-e5c41e4ed1fb
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:Hd8+uFxnF/++L02/t2/ZGA==
Message:Failure sending mail.
StackTrace:
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)
InnerMessage:Unable to connect to the remote server
InnerStackTrace:
at System.Net.ServicePoint.GetConnection(PooledStream
PooledStream, Object owner, Boolean async, IPAddress& address, Socket&
abortSocket, Socket& abortSocket6)
at
System.Net.PooledStream.Activate(Object owningObject, Boolean async,
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(ServicePoint servicePoint)
at
System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)
at
System.Net.Mail.SmtpClient.GetConnection()
at
System.Net.Mail.SmtpClient.Send(MailMessage message)
Source:System
FileName:
FileLineNumber:0
FileColumnNumber:0
Method: