i am getting the following error on the 'contact us' email notification
Error sending e-mail. Mailbox name not allowed. The server response was: 5.7.1 <[email protected]>: Sender address rejected: not owned by user [email protected]
The site is hosted. The hosted support staff explained that the email 'from' MUST be the same as the hosted user account to prevent spamming.
so currently the following is occurring on the 'contact us' form
from: [email protected]
to: [email protected]
what i think is required
replyto: [email protected]
from: [email protected]
to: [email protected]
i had a look in the Modules\ContactUs.ascx.cs and it seems the change is local to the following code.
but not sure how to get the admin email properties to be populated into the replyto.
MailAddress from = new MailAddress(txtEmail.Text, emailDisplayName);
since this is a constraint imposed by the hosting site, i guess other have faced the same issue.
any help is appreciated.
-lp