<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.eddyn.net/index.php?action=history&amp;feed=atom&amp;title=Configuring_MediaWiki_for_SMTP</id>
	<title>Configuring MediaWiki for SMTP - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eddyn.net/index.php?action=history&amp;feed=atom&amp;title=Configuring_MediaWiki_for_SMTP"/>
	<link rel="alternate" type="text/html" href="https://wiki.eddyn.net/index.php?title=Configuring_MediaWiki_for_SMTP&amp;action=history"/>
	<updated>2026-05-13T03:00:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.eddyn.net/index.php?title=Configuring_MediaWiki_for_SMTP&amp;diff=14&amp;oldid=prev</id>
		<title>Eddynetweb: Information regarding MediaWiki added.</title>
		<link rel="alternate" type="text/html" href="https://wiki.eddyn.net/index.php?title=Configuring_MediaWiki_for_SMTP&amp;diff=14&amp;oldid=prev"/>
		<updated>2017-03-06T16:14:35Z</updated>

		<summary type="html">&lt;p&gt;Information regarding MediaWiki added.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Configuring SMTP support on MediaWiki is actually quite easy! &lt;br /&gt;
&lt;br /&gt;
== Prerequisites == &lt;br /&gt;
&lt;br /&gt;
Make sure that you have php-pear installed first (for any version, really): &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
apt-get install php-pear&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Then make sure the following dependencies are installed (through php-pear): &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
pear install mail&lt;br /&gt;
pear install Net_SMTP&lt;br /&gt;
pear install Auth_SASL&lt;br /&gt;
pear install mail_mime&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Finally, restart apache2: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service apache2 restart&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
Now, go into the MediaWiki root directory and look for your &amp;#039;&amp;#039;&amp;#039;LocalSettings.php&amp;#039;&amp;#039;&amp;#039;, and add the following array: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt; $wgSMTP = array(&lt;br /&gt;
    &amp;#039;host&amp;#039;     =&amp;gt; &amp;quot;mail.example.com&amp;quot;, // could also be an IP address. Where the SMTP server is located&lt;br /&gt;
    &amp;#039;IDHost&amp;#039;   =&amp;gt; &amp;quot;example.com&amp;quot;,      // Generally this will be the domain name of your website (aka mywiki.org)&lt;br /&gt;
    &amp;#039;port&amp;#039;     =&amp;gt; 25,                 // Port to use when connecting to the SMTP server&lt;br /&gt;
    &amp;#039;auth&amp;#039;     =&amp;gt; true,               // Should we use SMTP authentication (true or false)&lt;br /&gt;
    &amp;#039;username&amp;#039; =&amp;gt; &amp;quot;my_user_name&amp;quot;,     // Username to use for SMTP authentication (if being used)&lt;br /&gt;
    &amp;#039;password&amp;#039; =&amp;gt; &amp;quot;my_password&amp;quot;       // Password to use for SMTP authentication (if being used)&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Follow the comments directions and you should be good to go! Keep in mind that you might have to review firewall entries and other things if you have issues.&lt;/div&gt;</summary>
		<author><name>Eddynetweb</name></author>
	</entry>
</feed>