Hi Joe,
Windows Server 2003
SQL Server 2005
Mojo 2317/2332
Getting the following error when using contact form to send mail.
2010-01-07 14:19:51,910 ERROR mojoPortal.Web.ContactUI.ContactForm - error sending email from address was to address was myemail@mydomain.uk
System.ArgumentException: The parameter 'address' cannot be an empty string.
Parameter name: address
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at System.Net.Mail.MailAddress..ctor(String address)
at mojoPortal.Net.Email.SendEmailNormal(SmtpSettings smtpSettings, String from, String replyTo, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority, String[] attachmentPaths, String[] attachmentNames)
at mojoPortal.Net.Email.SendEmailNormal(SmtpSettings smtpSettings, String from, String replyTo, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority)
at mojoPortal.Net.Email.SendEmail(SmtpSettings smtpSettings, String from, String replyTo, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority)
at mojoPortal.Web.ContactUI.ContactForm.btnSend_Click(Object sender, EventArgs e)
myemail@mydomain.uk changed from my real address.
I've copied the smtp settings in web.config from a previous version of Mojo (contact form works fine) and have double checked that they are correct.
Also, there is a valid address in the email field fro the contact form settings.
Am I missing something obvious?
Regards
Colin