Describe the bug
When a new form is submitted, it no longer generates an email message. Also the confirmation message is not displayed.
The error shows "Message:The parameter 'address' cannot be an empty string. Parameter name: address"
To Reproduce
Steps to reproduce the behavior:
- Create a form with email address field. Set module settings to email generated on new and a template to display after submission.
- Submit form with valid email address.
Expected behavior
An email message is expected to be generated and sent to the specified recipients as indicated in module settings. Form submitted successfully message should be displayed as specified in the settings.
Screenshots
If applicable, add screenshots to help explain your problem.
Error log
Note: Debug DLL's
Please replace the current extension DLL's with the debug DLL's (if these are available with the release) and reproduce the error with the debug DLL's before pasting the error log.
Sorry, I'm not exactly sure what the above means, but here's this.
Message:The parameter 'address' cannot be an empty string. Parameter name: address
StackTrace:
InnerMessage:The parameter 'address' cannot be an empty string. Parameter name: address
InnerStackTrace:
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailSender, String mailTo, String cc, String bcc, String replyTo, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, List1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) 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.UserDefinedTableController.UpdateRow(DataSet ds, Int32 rowNr, Boolean isDataToImport) at DotNetNuke.Modules.UserDefinedTable.EditForm.cmdUpdate_Click(Object sender, EventArgs e)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Additional context
Add any other context about the problem here.