Greetings;
Whenever I try to use a dynamic email, the module generates an error stored in dnn log (the error does not appear to user while using).
The innerexception of the error is:
"The email address (Contact Us) is not in a valid format." "Contact Us" happens to be the name given to the Dynamic forms module instance.
I have a simple contact us form. There are 2 events, one event to send email to sender and another to send email to portal admin. If both events are fired, then there is an error for each. I have no known problems with my SMTP server as I send out thousands of emails a day with it using pop clients and other working DNN modules. Only this module is throwing the error.
I do not understand why the module is trying to use the module name as part of the email address. Here is the full error copy:
*** Error Start ***
AssemblyVersion: 6.0.1
PortalID: 0
PortalName: My Portal
UserID: 1
UserName: host
ActiveTabID: 59
ActiveTabName: Contact Us
RawURL: /Home/ContactUs.aspx
AbsoluteURL: /Default.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c1d1a465-9a58-4f3d-a4cb-da21651930c3
InnerException: The email address (Contact Us) is not in a valid format.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method:
StackTrace:
Message: System.ArgumentException: The email address (Contact Us) is not in a valid format.
Source:
Server Name: xxx
*** Error End ***