-3

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.

Steam
  • 7,950
  • 27
  • 71
  • 117
  • http://stackoverflow.com/q/20788933/153923 – jp2code Dec 27 '13 at 23:00
  • 1
    So much easier to just google "Send e-mail with C#". Lots of tutorials/examples out there. – Evan L Dec 27 '13 at 23:01
  • @Evanlewis - Google ? What is that ? How do I find this thing ? I already saw some examples. There is no comprehensive list of things needed in order to be able to send e-mails. – Steam Dec 27 '13 at 23:05

1 Answers1

3

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.

Dries
  • 875
  • 2
  • 12
  • 38
  • trying this now - http://stackoverflow.com/questions/2825950/sending-email-with-attachments-from-c-attachments-arrive-as-part-1-2-in-thunde – Steam Dec 30 '13 at 18:34