Use Google hosted email to send email from dotnetnuke site hosted on hostgator -
i attempting configure our dotnetnuke site able send basic messages (things lost password, newsletters, etc) our users.
according documentation have found have set site correctly smtp server , port:smtp.gmail.com:587 connection limit:1 max idle time:0 smtp authentication:basic smtp username:username@weburl.com smtp password:password
i created smtp relay in google apps comprehensive mail service storage.
is there missing? below error message receive logs, if understand seeing hosting service using correct?
2014-10-21 19:20:54,310 [pss16][thread:16][error] dotnetnuke.services.exceptions.exceptions - system.net.mail.smtpexception: failure sending mail. ---> system.net.webexception: unable connect remote server ---> system.net.sockets.socketexception: effort made access socket in way forbidden access permissions 74.125.198.109:587 @ system.net.sockets.socket.doconnect(endpoint endpointsnapshot, socketaddress socketaddress) @ system.net.servicepoint.connectsocketinternal(boolean connectfailure, socket s4, socket s6, socket& socket, ipaddress& address, connectsocketstate state, iasyncresult asyncresult, exception& exception) --- end of inner exception stack trace --- @ system.net.servicepoint.getconnection(pooledstream pooledstream, object owner, boolean async, ipaddress& address, socket& abortsocket, socket& abortsocket6) @ system.net.pooledstream.activate(object owningobject, boolean async, generalasyncdelegate asynccallback) @ system.net.pooledstream.activate(object owningobject, generalasyncdelegate asynccallback) @ system.net.connectionpool.getconnection(object owningobject, generalasyncdelegate asynccallback, int32 creationtimeout) @ system.net.mail.smtpconnection.getconnection(servicepoint servicepoint) @ system.net.mail.smtptransport.getconnection(servicepoint servicepoint) @ system.net.mail.smtpclient.getconnection() @ system.net.mail.smtpclient.send(mailmessage message) --- end of inner exception stack trace --- @ system.net.mail.smtpclient.send(mailmessage message) @ 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)
i have settings at:
smtp.gmail.com:587
1
0
basic
ssl enabled
username
password
that seems work fine sites using google's mail service services.
dotnetnuke google-apps
No comments:
Post a Comment