<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>code for asp.net &#187; Email</title>
	<atom:link href="http://www.codeforasp.net/category/email/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codeforasp.net</link>
	<description>More about asp.net ajax silverlight MVC</description>
	<lastBuildDate>Tue, 02 Mar 2010 10:17:59 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to send email in asp.net</title>
		<link>http://www.codeforasp.net/how-to-send-email-in-asp-net.html</link>
		<comments>http://www.codeforasp.net/how-to-send-email-in-asp-net.html#comments</comments>
		<pubDate>Tue, 02 Mar 2010 10:11:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Email]]></category>

		<guid isPermaLink="false">http://www.codeforasp.net/?p=681</guid>
		<description><![CDATA[Web.config
&#60;appSettings&#62;
&#60;add key=&#8221;SMTP&#8221; value=&#8221;smtp.gmail.com&#8221;/&#62;
&#60;add key=&#8221;FROMEMAIL&#8221; value=&#8221;Gmail UserName&#8221;/&#62;
&#60;add key=&#8221;FROMPWD&#8221; value=&#8221;GiveGmailPassword&#8221;/&#62;
&#60;/appSettings&#62;
 give correct gmail username like  lokeshasp@gmail.com
give correct gmail password 
Giving correct username and password of gmail. Gmail  SMTP server will assume is an authenticated user. For this authenticated details of gmail mails will sent to yahoo,gmail,etc..
using System.Net.Mail;
write below code in page load or button click

MailMessage mail = [...]]]></description>
		<wfw:commentRss>http://www.codeforasp.net/how-to-send-email-in-asp-net.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
