I want to send mail in asp.net using c# language. A very simple but effective & working code to send sample mail from say gmail to yahoo. Please help me with the code. Am very much new to this field. I have very little knowledge about programming. So i would be really happy if anybody guides me with the code & also porvides me with the sample code.
Thanks in advance,
Avinash
Loading

Krishna GaradRank #191 · 12.8K reputationPosted Feb 24, 2011, 9:56 PM EST
How to send mail from Gmail without login your Gmail account. as well other articles.
Micke BlomqvistRank #1,660 · 923 reputationPosted Feb 24, 2011, 9:57 PM EST
This article describes what you need to send e-mails thru gmail.
ASP.NET Send email using GMAIL
Suthish NairRank #92 · 22.8K reputationPosted Feb 27, 2011, 7:42 AM EST
Bassem20 reputationPosted Mar 9, 2011, 1:50 AM EST
//Setting of smtp Gmail
mailClient.EnableSsl=true;
mailClieant.UseDefaultCredentials = false;
Try the code above and tell me the Results ,...
Regards ,..
Bassem20 reputationPosted Mar 9, 2011, 1:55 AM EST
Ananth GRank #1,176 · 1.5K reputationPosted Oct 21, 2016, 1:43 AM EDT