<?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>Decrypt Web &#187; Attachment</title>
	<atom:link href="http://blog.decryptweb.com/tag/attachment/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.decryptweb.com</link>
	<description>Open Source Web Solutions</description>
	<lastBuildDate>Sat, 24 Jul 2010 05:58:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Send email from components</title>
		<link>http://blog.decryptweb.com/email-from-components/</link>
		<comments>http://blog.decryptweb.com/email-from-components/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 05:58:08 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Attachment]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=27</guid>
		<description><![CDATA[While working in Joomla CMS, many times need arises to send mail from the components.
Joomla has a class defined for doing this.
I am listing here the method for sending mail.

&#60;?php
$admin_email = ‘test@test.com’;
$subject = ‘Mail Testing’;
$Body = “Sending mail from component”;
$sender_email = “sender@sender.com”;
$sender_name = “Sender Name”;

$mail = &#38;JFactory::getMailer();   //create mail object
$mail-&#62;addRecipient( $admin_email );  [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/email-from-components/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
