문제

I need to know what are all the possible things (passwords, port numbers, server ip addresses, protocols, attachments etc) that one needs to know to send an e-mail to any e-mail address using C# code. Please tell me what they are. Hopefully, I should be able to figure out all the coding myself.

Thanks.

도움이 되었습니까?

해결책

Take a look at these two pages. MSDN is a goldmine when you're looking for things that use C#

  1. MailMessage Class
  2. SmtpClient Class

And use this link if you want a basic example.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top