<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Customizing the new user email with a pluggable function</title>
	<atom:link href="http://sltaylor.co.uk/blog/customizing-new-user-email-pluggable-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://sltaylor.co.uk/blog/customizing-new-user-email-pluggable-function/</link>
	<description>Freelance WordPress developer in London - XHTML, CSS &#38; design</description>
	<lastBuildDate>Sat, 04 Sep 2010 19:30:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Steve Taylor</title>
		<link>http://sltaylor.co.uk/blog/customizing-new-user-email-pluggable-function/#comment-8175</link>
		<dc:creator>Steve Taylor</dc:creator>
		<pubDate>Fri, 13 Aug 2010 11:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://sltaylor.co.uk/?p=158#comment-8175</guid>
		<description>Mike, check &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/wp_mail&quot;&gt;this&lt;/a&gt; and look at line 32.</description>
		<content:encoded><![CDATA[<p>Mike, check <a href="http://codex.wordpress.org/Function_Reference/wp_mail">this</a> and look at line 32.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://sltaylor.co.uk/blog/customizing-new-user-email-pluggable-function/#comment-8168</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 13 Aug 2010 08:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://sltaylor.co.uk/?p=158#comment-8168</guid>
		<description>This works great! Thank you! Is there a way to customize the subject line of the email? Currently the plugin uses the site name of the site as the subject line. It would be great if there was a way to customize this.</description>
		<content:encoded><![CDATA[<p>This works great! Thank you! Is there a way to customize the subject line of the email? Currently the plugin uses the site name of the site as the subject line. It would be great if there was a way to customize this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Taylor</title>
		<link>http://sltaylor.co.uk/blog/customizing-new-user-email-pluggable-function/#comment-4788</link>
		<dc:creator>Steve Taylor</dc:creator>
		<pubDate>Tue, 09 Mar 2010 23:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://sltaylor.co.uk/?p=158#comment-4788</guid>
		<description>If two plugins redeclare the same pluggable function, naturally they&#039;ll clash. Thinking about a situation where you&#039;d enable two plugins to perform different operations on the same functionality---well, that&#039;s getting into &lt;a href=&quot;http://codex.wordpress.org/Plugin_API&quot;&gt;hooks&lt;/a&gt; territory. Not sure why WP has the new user email managed via a pluggable function rather than a filter or action, but there it is.</description>
		<content:encoded><![CDATA[<p>If two plugins redeclare the same pluggable function, naturally they&#8217;ll clash. Thinking about a situation where you&#8217;d enable two plugins to perform different operations on the same functionality&#8212;well, that&#8217;s getting into <a href="http://codex.wordpress.org/Plugin_API">hooks</a> territory. Not sure why WP has the new user email managed via a pluggable function rather than a filter or action, but there it is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shivanand Sharma</title>
		<link>http://sltaylor.co.uk/blog/customizing-new-user-email-pluggable-function/#comment-4781</link>
		<dc:creator>Shivanand Sharma</dc:creator>
		<pubDate>Tue, 09 Mar 2010 05:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://sltaylor.co.uk/?p=158#comment-4781</guid>
		<description>So let&#039;s say we redeclare a pluggable function in our plugin and it works fine. Now another plugin too redeclares the same function. Won&#039;t these two clash? Is there a way for two plugins to use pluggable functions and still respect the sanctity?</description>
		<content:encoded><![CDATA[<p>So let&#8217;s say we redeclare a pluggable function in our plugin and it works fine. Now another plugin too redeclares the same function. Won&#8217;t these two clash? Is there a way for two plugins to use pluggable functions and still respect the sanctity?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Taylor</title>
		<link>http://sltaylor.co.uk/blog/customizing-new-user-email-pluggable-function/#comment-1113</link>
		<dc:creator>Steve Taylor</dc:creator>
		<pubDate>Mon, 17 Aug 2009 23:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://sltaylor.co.uk/?p=158#comment-1113</guid>
		<description>Hi Joseph... Good question! For changing the the &quot;From&quot; address, it looks like &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/wp_mail&quot; rel=&quot;nofollow&quot;&gt;&lt;code&gt;wp_mail&lt;/code&gt;&lt;/a&gt; takes extra parameters, including an optional string or array of headers. I think you can specify the &quot;From&quot; address in here. I&#039;ve not done this, but just follow the code trail. Check out the &lt;code&gt;wp_mail&lt;/code&gt; function in &lt;code&gt;/wp-includes/pluggable.php&lt;/code&gt; (notice that as it&#039;s in here you can override the whole function if you want to - overkill though, I think!). I imagine it&#039;s all a big wrapper for PHP&#039;s &lt;a href=&quot;http://uk.php.net/manual/en/function.mail.php&quot; rel=&quot;nofollow&quot;&gt;&lt;code&gt;mail&lt;/code&gt;&lt;/a&gt; function... Hope that puts you in the right direction.</description>
		<content:encoded><![CDATA[<p>Hi Joseph&#8230; Good question! For changing the the &#8220;From&#8221; address, it looks like <a href="http://codex.wordpress.org/Function_Reference/wp_mail"><code>wp_mail</code></a> takes extra parameters, including an optional string or array of headers. I think you can specify the &#8220;From&#8221; address in here. I&#8217;ve not done this, but just follow the code trail. Check out the <code>wp_mail</code> function in <code>/wp-includes/pluggable.php</code> (notice that as it&#8217;s in here you can override the whole function if you want to &#8211; overkill though, I think!). I imagine it&#8217;s all a big wrapper for PHP&#8217;s <a href="http://uk.php.net/manual/en/function.mail.php"><code>mail</code></a> function&#8230; Hope that puts you in the right direction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph</title>
		<link>http://sltaylor.co.uk/blog/customizing-new-user-email-pluggable-function/#comment-1112</link>
		<dc:creator>Joseph</dc:creator>
		<pubDate>Mon, 17 Aug 2009 17:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://sltaylor.co.uk/?p=158#comment-1112</guid>
		<description>Nice plugin! 

Please, allow a couple of questions;

1 How do I change

&lt;code&gt;@wp_mail(get_option(&#039;admin_email&#039;)&lt;/code&gt;

for a custom &quot;noreply&quot; email address? Instead of sending the email from admin@mydomain.com I&#039;d like to send it from a non-existent noreply@whatever.com

2  In the new user email you add a custom subject field but how can I set a custom &quot;from&quot; field?

Thanks</description>
		<content:encoded><![CDATA[<p>Nice plugin! </p>
<p>Please, allow a couple of questions;</p>
<p>1 How do I change</p>
<p><code>@wp_mail(get_option('admin_email')</code></p>
<p>for a custom &#8220;noreply&#8221; email address? Instead of sending the email from <a href="mailto:admin@mydomain.com">admin@mydomain.com</a> I&#8217;d like to send it from a non-existent <a href="mailto:noreply@whatever.com">noreply@whatever.com</a></p>
<p>2  In the new user email you add a custom subject field but how can I set a custom &#8220;from&#8221; field?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
