We are receiving some errors and specifically when submitting a form, the form does not send an email:
Message:Padding is invalid and cannot be removed.
StackTrace:
InnerMessage:Padding is invalid and cannot be removed.
InnerStackTrace:
at System.Security.Cryptography.CapiSymmetricAlgorithm.DepadBlock(Byte[] block, Int32 offset, Int32 count) at System.Security.Cryptography.CapiSymmetricAlgorithm.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.FlushFinalBlock() at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at DotNetNuke.Security.FIPSCompliant.DecryptAES(String encryptedText, String passPhrase, String salt, Int32 iterations) at DotNetNuke.Services.Mail.CoreMailProvider.GetDefaultSmtpInfo(SmtpInfo smtpInfo) at DotNetNuke.Services.Mail.CoreMailProvider.ParseSmtpServer(SmtpInfo& smtpInfo) at DotNetNuke.Services.Mail.CoreMailProvider.SendMail(MailInfo mailInfo, SmtpInfo smtpInfo) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String cc, String bcc, String replyTo, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, List`1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Modules.UserDefinedTable.Components.TrackingController.SendMail(String from, String mailTo, String cc, String bcc, String replyto, String subject, String data, String message, String trigger, String script) at DotNetNuke.Modules.UserDefinedTable.Components.TrackingController.HandleAction(Trigger trigger, DataSet data, UserDefinedTableController udtC) at DotNetNuke.Modules.UserDefinedTable.Components.TrackingController.OnAction(Trigger trigger, Int32 rowId, UserDefinedTableController udtC) at DotNetNuke.Modules.UserDefinedTable.EditForm.cmdUpdate_Click(Object sender, EventArgs e)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Looking the SMTP portion (because it's referenced in the log), I went to check our STMP settings. If I try to update them, I get the following:
What version of DNN are you using?
Are you able to see the SMTP settings at all before you attempt to update them? What SMTP provider are you trying to use?
If you're not able to see those values, you can run the query below against the database to see what they are.
SELECT * FROM [dbo].[HostSettings] WHERE [SettingName] LIKE '%SMTP%' ORDER BY [SettingName]; SELECT * FROM [dbo].[PortalSettings] WHERE [SettingName] LIKE '%SMTP%' ORDER BY [PortalId], [SettingName];
Updated that (was a p) but same result (also did an iisreset to make sure the app reloaded)
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.