ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2017 www.aspforums.com. All rights reserved.How to send email from Yahoo, Gmail, Hotmail using C# and VB.Net in ASP.Net<p>Hi <a class="username" rel="power">power</a>,</p> <p>Refer the below article.</p> <h1 class="header"><a title="How to send email with attachment in ASP.Net'a" href="http://www.aspsnippets.com/Articles/How-to-send-email-with-attachment-in-ASPNet.aspx">How to send email with attachment in ASP.Net</a></h1> <p><strong><span style="text-decoration: underline;">For Gmail:</span></strong></p> <p>For gmail below is the smtp.Host and smtp.Port</p> <p><span style="text-decoration: underline;">C#</span></p> <pre class="brush: csharp">smtp.Host = &#34;smtp.gmail.com&#34;; smtp.Port = 587;</pre> <p><span style="text-decoration: underline;">VB.Net</span></p> <pre class="brush: vb">smtp.Host = &#34;smtp.gmail.com&#34; smtp.Port = 587</pre> <p><strong><span style="text-decoration: underline;">For Yahoomail:</span></strong></p> <p>For yahoomail below is the smtp.Host and smtp.Port</p> <p><span style="text-decoration: underline;">C#</span></p> <pre class="brush: csharp">smtpClient.Host = &#34;smtp.yahoo.com&#34;; // or smtp.mail.yahoo.com smtpClient.Port = 465; //or 995</pre> <p><span style="text-decoration: underline;">VB.Net</span></p> <pre class="brush: vb">smtp.Host = &#34;smtp.yahoo.com&#34; &#39; or smtp.mail.yahoo.com smtp.Port = 465 &#39; or 995</pre> <p><strong><span style="text-decoration: underline;">For Hotmail:</span></strong></p> <p>For hotmail below is the smtp.Host and smtp.Port</p> <p><span style="text-decoration: underline;">C#</span></p> <pre class="brush: csharp">smtp.Host = &#34;smtp.live.com&#34;; smtp.Port = 25;</pre> <p><span style="text-decoration: underline;">VB.Net</span></p> <pre class="brush: vb">smtp.Host = &#34;smtp.live.com&#34; smtp.Port = 25</pre>http://www.aspforums.net/Threads/471485/How-to-send-email-from-Yahoo-Gmail-Hotmail-using-C-and-VBNet-in-ASPNet/http://www.aspforums.net/Threads/471485/How-to-send-email-from-Yahoo-Gmail-Hotmail-using-C-and-VBNet-in-ASPNet/Tue, 10 Jan 2017 02:20:47 GMT