mail problems

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
sounds liek your SMTP server only relays within your domain check the config
on the server
 
Back
Top