Sending a notification email...

V

vbMark

Hello,

I am able to make a contact form for my site no problem--it works great.

However, I am making a contact form so that customers can reach other
members who have registered on my site. The problem I am running into is
this, when the SmptClient.Send tries to send to an email address not on my
mail server I get this message:

"System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The
server response was: No such user here at
System.Net.Mail.SmtpTransport.SendMail(MailAddress sender,
MailAddressCollection recipients, String deliveryNotify,
SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send
(MailMessage message) at ContactWriter.SendEmail() in..."

I know that there has to be a way to do this without adding people email
addresses to my server because when I've run a message board I was able to
have members notified when they got a reply to an email.

Why is this not working, what am I missing?

Thanks!
Mark
 
S

sloan

You may have to supply one of the authentication modes:

http://sholliday.spaces.live.com/blog/
Smarter Email/Smtp setup with DotNet Configuration Sections (1.1 and 2.0)
2/8/2006


Are you saying that you're supplying a different "From" address, then you
own?

Please describe the issue in detail, not just the exception message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top