Click here to Skip to main content
15,122,559 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to send an e-mail with C# to a an e-mail address.
Posted
Comments
PIEBALDconsult 4-Feb-15 13:07pm
   
System.Net.Mail Namespace
https://msdn.microsoft.com/en-us/library/system.net.mail(v=vs.110).aspx
Liju Sankar 4-Feb-15 13:13pm
   
Hi Faroogh Karimi Zadeh,
I would say, please do a google search before posting it as a new question. Google search on 'Send email using c#' retrieved 72,40,000 results

1 solution

Please read this previous answer to learn on this, you would learn this. Send Email using SMTP in C#[^]

Anyways, you should learn the SMTP settings and the methods to use this protocol for sending the emails. This MSDN documentation[^] is a start for that.
   
v2
Comments
Liju Sankar 4-Feb-15 13:11pm
   
+5
Afzaal Ahmad Zeeshan 4-Feb-15 13:12pm
   
Thanks, for your vote. :)
   
5ed.
—SA
Afzaal Ahmad Zeeshan 4-Feb-15 23:49pm
   
Thanks Sergey.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900