I am trying to setup my host smtp account on Google Apps but I get the following error:
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 ---
For SMTP server: smtp.gmail.com:465
Authentication: Basic
Enable SSL is checked
The username is the email address I'm trying to use (which does work outside of DNN) and my password.
Any help will be much appreciated,
Thanks,
Michael
Next I have entered my