I'm not having any luck setting up a GMail account for the SMTP Server Settings in a DNN 4.05.03 installation. I've allowed POP in the gmail account and tested it from Outlook successfully. I've tried several configurations in the SMTP setting section (Host > Host Settings tab) without any luck.
For the SMTP Server and Port textbox, I've tried both smtp.gmail.com:465 & smtp.gmail.com:587
I've tried about every combination for the Authentication and Enable SSL selections, and I've copied the username and password exactly.
I've also contacted my host and they say that they don't block these ports.
Has anyone done this successfully and know what the settings are?
Thanks,
David
Here's the error I'm receiving:
<code>
Error: Host Settings is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ---> System.Security.SecurityException: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.Net.Mail.SmtpClient.set_Port(Int32 value) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL) at DotNetNuke.Modules.Admin.Host.HostSettingsModule.cmdEmail_Click(Object sender, EventArgs e) The action that failed was: Demand The type of the first permission that failed was: System.Net.Mail.SmtpPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace ---
</code>