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 ...DNN 8.04 Setup Gmail as Mail server does not work  DNN 8.04 Setup Gmail as Mail server does not work
Previous
 
Next
New Post
2/8/2017 1:39 AM
 

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:


 
New Post
2/8/2017 3:50 PM
 
The key here is, I think: "Unable to connect to the remote server"

There could be any number of reasons why your application can't connect to the gmail smtp server. That could include firewall and network issues.

Where is your DNN installation hosted? You'll probably want to start with the folks who administer the system and have them start with the network connections.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
2/8/2017 10:19 PM
 

thanks Joe,  It is a localhost Windows 7 pro. 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 8.04 Setup Gmail as Mail server does not work  DNN 8.04 Setup Gmail as Mail server does not work


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