mail problems

G

Guest

I have win-2003.

body ="Test body";

MailMessage mail = new MailMessage();
mail.From = "Test_From";
mail.To = "(e-mail address removed)";
mail.Subject = "Mail-Html format";
mail.Body = body;
mail.BodyFormat = MailFormat.Html;
SmtpMail.SmtpServer= "domain_server" ;

if I mention the smtp server name then the mails go correctly, only if it is
our domain name. if i mention @hotmail or @yahoo, it fails sending the mails
and puts up saying unable to access cdo.message object.

any one knows how to send mails to other domain names also? Is any
configuration necessary in the client side/relay server to achieve this?

Thanks,
venakt.
 
L

Leonard Danao

sounds liek your SMTP server only relays within your domain check the config
on the server
 

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