Error on Sending mail asp.net mvc

Posted by sagar on Stack Overflow See other posts from Stack Overflow or by sagar
Published on 2010-05-18T11:16:47Z Indexed on 2010/05/18 11:20 UTC
Read the original article Hit count: 289

Filed under:

Hi whenever i am trying to send the mail from my application on account creation i get the following error.

User not local; please try a different path. The server response was: Bad Recipient at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)

Smtp settings provided by client is all right.When i replace my smtp setting with gmail smtp settings on web.config mail is going smoothly.but when my smtp setting is set to the smtp setting provided by client above error occurs.

I have the folloeing in my web.config.

© Stack Overflow or respective owner

Related posts about ASP.NET