SolutionCottage.com
Posted  16 Dec 2008 - 19:04:37

Category: Web Hosting


Mailing error "Mailbox name is not allowed" using Godaddy

Issue:
When you try to mail from your application built in ASP.net using the System.Net.Mail.SmtpClient you get an exception saying "Mailbox name is not allowed".

Solution:
Use these configuration settings in your web.config:

<system.net>
<mailSettings>
<smtp from="username@domain.com">
<network host="smtpout.secureserver.net" userName="username@domain.com" password="password" />
</smtp>
</mailSettings>
</system.net>








1 comment:

2/27/2011 7:48:43 PM  Moi  wrote:

Wrong









© SolutionCottage 2008-2011 7/25/2017 7:28:34 AM