Last post Oct 21, 2011 12:16 AM by kctt
Oct 19, 2011 03:21 AM|maquina34|LINK
Hi all, I'm on moving an asp.net application from an Vista machine to a Win 7 machine. I have been successful migrating the application and setting it up except for being able to transmit emails. When the application tries to send an email I encountered
the following error message:
"Mailing failed: When making a request as an account that does not have a mailbox, you must specify the mailbox primary SMTP address for any distinguished folder Ids."
Has anyone encountered this issue before? Any thoughts as to what the cause of the issue may be? My guess is the source of my issue comes from web.config Appreciate any help provided to fix this to allow the application to send emails.
Thank you in advance,
Oct 19, 2011 03:53 AM|HarshaRaju|LINK
Give a try adding the mail setting in the web.config
<mailSettings> <smtp from="firstname.lastname@example.org"> <network host="smtp.company.com" port="25" userName="username" password="password"/> </smtp></mailSettings>
Oct 21, 2011 12:16 AM|kctt|LINK
HarshaRaju's configuration seems to be correct.
Usually i don't use this part from="email@example.com"