Learn More





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

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
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: (tried  these too ,

SMTP Authentication: Basic,  SMTP Enable SSL: Checked, User Name:, Password: Mypassword.

Appreciate your help. 

Following is from Event viewer.

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke










Message:Failure sending mail.


   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


   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)






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 (
New Post
2/8/2017 10:19 PM

thanks Joe,  It is a localhost Windows 7 pro. 

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.

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.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out