<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://gwiki3.thatlinuxbox.com/index.php?action=history&amp;feed=atom&amp;title=Mail_Setup_for_GMail</id>
		<title>Mail Setup for GMail - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://gwiki3.thatlinuxbox.com/index.php?action=history&amp;feed=atom&amp;title=Mail_Setup_for_GMail"/>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=Mail_Setup_for_GMail&amp;action=history"/>
		<updated>2026-04-06T05:06:55Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.5</generator>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=Mail_Setup_for_GMail&amp;diff=4344&amp;oldid=prev</id>
		<title>Dirk: How to set up SMTP for GMail</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=Mail_Setup_for_GMail&amp;diff=4344&amp;oldid=prev"/>
				<updated>2008-01-01T20:43:48Z</updated>
		
		<summary type="html">&lt;p&gt;How to set up SMTP for GMail&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[http://mail.google.com/ GMail] (or Google Mail) is Google's free email service. While originally only web-based, it has since added support for POP3, SMTP, and IMAP.&lt;br /&gt;
&lt;br /&gt;
To use your GMail account to send emails from your Geeklog site, use this setup in your config.php (settings taken from [http://mail.google.com/support/bin/answer.py?answer=78799 here]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$_CONF['mail_settings'] = array (&lt;br /&gt;
    'backend' =&amp;gt; 'smtp', // can be one of 'mail', 'sendmail', 'smtp'&lt;br /&gt;
&lt;br /&gt;
    // sendmail parameters (only needed for 'backend' =&amp;gt; 'sendmail')&lt;br /&gt;
    'sendmail_path' =&amp;gt; '/usr/bin/sendmail',&lt;br /&gt;
    'sendmail_args' =&amp;gt; '',&lt;br /&gt;
&lt;br /&gt;
    // SMTP parameters (only needed for 'backend' =&amp;gt; 'smtp')&lt;br /&gt;
    'host'     =&amp;gt; 'smtp.gmail.com',&lt;br /&gt;
    'port'     =&amp;gt; '587',&lt;br /&gt;
    'auth'     =&amp;gt; true,&lt;br /&gt;
    'username' =&amp;gt; 'your-account@gmail.com',&lt;br /&gt;
    'password' =&amp;gt; 'your-gmail-password'&lt;br /&gt;
);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that your username must include the &amp;quot;@gmail.com&amp;quot;. Also, while Google lists two possible ports, only 587 seems to work with Geeklog (or the PEAR::Mail class that Geeklog uses here). Don't forget to set &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; to '''true'''!&lt;br /&gt;
&lt;br /&gt;
'''Important:''' Emails sent via GMail will use your GMail account name and email address in the &amp;quot;From:&amp;quot;, ''not'' the address set in &amp;lt;code&amp;gt;$_CONF['site_mail']&amp;lt;/code&amp;gt;. This is different from other SMTP servers. So only use GMail if that isn't a problem for you.&lt;/div&gt;</summary>
		<author><name>Dirk</name></author>	</entry>

	</feed>