<?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>Flav36rs &#187; localhost</title>
	<atom:link href="http://flav36rs.com/tag/localhost/feed/" rel="self" type="application/rss+xml" />
	<link>http://flav36rs.com</link>
	<description>Just another technical blog</description>
	<lastBuildDate>Mon, 12 Sep 2011 16:56:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>SMTP server settings for outgoing email using WAMP</title>
		<link>http://flav36rs.com/2009/09/06/smtp-server-settings-for-outgoing-email-using-wamp/</link>
		<comments>http://flav36rs.com/2009/09/06/smtp-server-settings-for-outgoing-email-using-wamp/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 20:03:37 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[wamp]]></category>

		<guid isPermaLink="false">http://36flavours.com/?p=345</guid>
		<description><![CDATA[If you&#8217;re running WAMP and need the ability to use the PHP mail function to send outgoing e-mails, then you will need to modify the php.ini settings. As WAMP itself does not have an SMTP server, the easiest option is &#8230; <a href="http://flav36rs.com/2009/09/06/smtp-server-settings-for-outgoing-email-using-wamp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running WAMP and need the ability to use the PHP mail function to send outgoing e-mails, then you will need to modify the php.ini settings.</p>
<p>As WAMP itself does not have an SMTP server, the easiest option is to replace the SMTP address with the name of the SMTP server or IP Address with one that you can use.<span id="more-345"></span></p>
<p>This can be achieved by either editing the php.ini directly, replacing:</p>
<pre lang="bash">;SMTP = localhost
;smtp_port = 25
;sendmail_from =</pre>
<p>with:</p>
<pre lang="bash">SMTP = smtp.yourisp.com
smtp_port = 25
sendmail_from = me@example.com</pre>
<p>Or by setting the values in PHP:</p>
<pre lang="php">ini_set("SMTP","smtp.yourisp.com" );
ini_set('smtp_port', 25);
ini_set('sendmail_from', 'me@example.com');</pre>
<p>Replace <strong>smtp.yourisp.com</strong> with that of your ISP&#8217;s SMTP server, for example <strong>smtp.ntlworld.com</strong>.</p>
<p>Depending on your current settings, it&#8217;s likely that you may only need to modify the SMTP value as the others &#8211; <em>smtp_port and sendmail_from</em> &#8211; may already be defined.</p>
<p>Now restart the <span id="SPELLING_ERROR_16">Apache</span> server in order for your changes take effect, then test the changes by calling the <a href="http://uk3.php.net/manual/en/function.mail.php" target="_blank">PHP mail</a> function.</p>
]]></content:encoded>
			<wfw:commentRss>http://flav36rs.com/2009/09/06/smtp-server-settings-for-outgoing-email-using-wamp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

