Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i see the error is..Mailbox unavailable. The server response was: <kollihari@mail.net> No such user here

plz give me solved solutin
Posted
Updated 5-Sep-12 23:31pm
v2

The most likely reason for this is that you are not providing authentication when you send the email: http://knowledge.3essentials.com/web-hosting/article/263/ERROR-550-No-such-user-here-when-sending-mail.html[^]

Have a look at this: it sends email from authenticated addresses: Sending an Email in C# with or without attachments: generic routine.[^]
 
Share this answer
 
Comments
Monjurul Habib 8-May-12 16:37pm    
5!
Make sure that the email address you're attempting to deliver email to is valid, or the mailbox is not full and is allowed to receive email.

Then, make sure you have configured SMTP configuration in Web.Config:
<system.net>
   <mailSettings>
     <smtp from="abc@somedomain.com">
       <network host="somesmtpserver" port="25" userName="name" password="pass" defaultCredentials="true" />
     </smtp>
   </mailSettings>
</system.net>

If needed, have a look at this Microsoft Video tutorial:
Use ASP.NET to send Email from Website[^]

Also, have a look at this discussion on similar issue: Mailbox unavailable error[^]

It says: "This happens when you specify a domain with your NetworkCredentials. If you specify a domain (third argument) then you can only send to valid mailboxes within that domain."
 
Share this answer
 
Comments
Monjurul Habib 8-May-12 16:37pm    
5!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900