Products

Solutions

Resources

Partners

Community

About

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 ...Issues with using Gmail SMTP for SMTP Server SettingsIssues with using Gmail SMTP for SMTP Server Settings
Previous
 
Next
New Post
5/26/2017 7:10 PM
 

I've spent most of the day trying to get the Gmail SMTP settings to work with this DNN site with no luck. Nothing works. I've tried smtp.gmail.com:587 and smtp.gmail.com:465 and smtp.gmail.com:25, all with and without SMTP SSL checked.

I've also cleared the cache and restarted the app pool. 

When I test the connection, this is the error I get: There has been an error trying to send the test email. The error is: There is a problem with the configuration of your SMTP Server. Mail was not sent. (no sh*t?!)

Yes, I'm sure the email credentials are valid.

 
New Post
5/27/2017 12:30 PM
 

Jay:

This works for me Notes for DNN9

Settings -> Servers -> Server Settings >SMTP Server>SMTP Server>Check Global> and  port=smtp.gmail.com:587 > Ceck Basic >SMTP Enable SSL:=Chk> SMTP Username: xx & PW

 
New Post
5/30/2017 1:59 PM
 

It seems that Gmail is rejecting the DNN application. Even though I've activated the setting to allow other apps to use GMail, the SMTP test is still not working. Anyone know of another work around?

 
New Post
5/30/2017 5:42 PM
 
If you check the event log, you may be able to figure out what is going wrong.

DNN can be configured to work with Gmail.

This may help: http://www.dnnsoftware.com/answers/se...



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
5/30/2017 7:28 PM
 
So I've gone through and created a web application in the Google API manager in hopes that it would help, but with no success.

Here's what the event log says:
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:3f66959c-34f5-4fe7-b9d9-ee39dd3b062f
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:Xs6omZylz6OyyvFDn2zToA==
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:
Server Name: WEB200

What makes NO sense is that the SMTP test works, but no info from a submitted form ever comes through. At this point I really don't know what more to do.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Issues with using Gmail SMTP for SMTP Server SettingsIssues with using Gmail SMTP for SMTP Server Settings


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