System.Web.Mail - concerns

  • Thread starter Thread starter Vijay Balki
  • Start date Start date
V

Vijay Balki

I am having trouble using this name space. I am not able to specify a remote
SMTP Server to send mails. The mail server and web server have to be the
same machine...

I am going nuts please help!!

VJ
 
Vijay Balki said:
I am having trouble using this name space. I am not able to specify a remote
SMTP Server to send mails. The mail server and web server have to be the
same machine...

I am going nuts please help!!

Use the SmtpMail.SmtpServer and you should be fine.
 
Vijay Balki said:
Is there like a sample I can refer to?..

Well, there's an example in the documentation for the property, but
it's really very simple: you set the property to the mail server you
want to use to send mails. What else do you need to know?
 
Ohh I see.. so if the remote mail server requires authentication, I can't
supply the username and password for it. I understand the problem now. I
will look into 3rd party software

Thanks for the help
VJ
 
Back
Top