I want to send email to an id at local network
I want to send email to an id at local network using intranet not in开发者_如何学运维ternet in C#. Please someone help me if possible.
Thanks, Regards
Absolutely doesn't matter if it is intranet or internet. Somewhere on your intranet there is a mail server that supports SMTP protocol. It maybe program like Unix sendmail, Microsoft Exchange or IBM Lotus Domino. Ask your system administrator to find out address of this mail server. Then use standart .NET API (example here, replace smtpserver1 to the address of your mail server and specify username and password if needed) to connect to it and send your mail.
精彩评论