<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Mediawiki E-Mail - Revision history</title>
		<link>https://www.slackwiki.com/index.php?title=Mediawiki_E-Mail&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.40.0</generator>
		<lastBuildDate>Wed, 08 Apr 2026 01:04:18 GMT</lastBuildDate>
		<item>
			<title>Erik: Copy from old</title>
			<link>https://www.slackwiki.com/index.php?title=Mediawiki_E-Mail&amp;diff=134&amp;oldid=prev</link>
			<guid isPermaLink="false">https://www.slackwiki.com/index.php?title=Mediawiki_E-Mail&amp;diff=134&amp;oldid=prev</guid>
			<description>&lt;p&gt;Copy from old&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Tips]]&lt;br /&gt;
&lt;br /&gt;
==Can't Send Out Confirmation E-mails (using SMTP)==&lt;br /&gt;
(confirmed on Slackware 10.2 &amp;amp; Mediawiki 1.7.x)&amp;lt;br&amp;gt;&lt;br /&gt;
To use SMTP on Mediawiki 1.5+ you must add:&amp;lt;br&amp;gt;&lt;br /&gt;
 $wgSMTP = array(&lt;br /&gt;
          'host'     =&amp;gt; &amp;quot;&amp;lt;i&amp;gt;your.smtp.server&amp;lt;/i&amp;gt;&amp;quot;,&lt;br /&gt;
          'IDHost'   =&amp;gt; &amp;quot;&amp;lt;i&amp;gt;your domain or blank&amp;lt;/i&amp;gt;&amp;quot;,&lt;br /&gt;
          'port'     =&amp;gt; 25,&lt;br /&gt;
          'auth'     =&amp;gt; true &amp;lt;i&amp;gt;(or false)&amp;lt;/i&amp;gt;, &lt;br /&gt;
          'username' =&amp;gt; &amp;quot;&amp;lt;i&amp;gt;username (if auth=true)&amp;lt;/i&amp;gt;&amp;quot;,&lt;br /&gt;
          'password' =&amp;gt; &amp;quot;&amp;lt;i&amp;gt;password (if auth=true)&amp;lt;/i&amp;gt;&amp;quot;&lt;br /&gt;
          );&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::...somewhere into LocalSettings.php (found in the Mediawiki's root directory).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After adding the above to your LocalSettings.php file, the SMTP service still &amp;lt;i&amp;gt;probably&amp;lt;/i&amp;gt; will &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; work. If you examine your &amp;lt;code&amp;gt;/var/log/apache/error_log&amp;lt;/code&amp;gt; file, it probably will have this error:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[error] PHP Warning:  usermailer(Mail.php): failed to open stream: No such file or directory in /home/joebleau/public_html/wiki/includes/UserMailer.php on line 82&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For some reason, the Wiki's config script screws up the path to the PHP's PEAR extensions.  To fix this, edit the LocalSettings.php line that says:&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$path = array( $IP, &amp;quot;$IP/includes&amp;quot;, &amp;quot;$IP/languages&amp;quot;);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to say:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;$path = array( $IP, &amp;quot;$IP/includes&amp;quot;, &amp;quot;$IP/languages&amp;quot;&amp;lt;b&amp;gt;, &amp;quot;/usr/lib/php&amp;quot;&amp;lt;/b&amp;gt; );&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After that, your smtp outgoing mail &amp;lt;i&amp;gt;should&amp;lt;/i&amp;gt; work for your Mediawiki installation.&lt;/div&gt;</description>
			<pubDate>Thu, 04 Jun 2009 05:19:19 GMT</pubDate>
			<dc:creator>Erik</dc:creator>
			<comments>https://www.slackwiki.com/Talk:Mediawiki_E-Mail</comments>
		</item>
</channel></rss>