<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl">
	<id>https://docs.moodle.org/2x/pl/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Liaoguihui</id>
	<title>MoodleDocs - Wkład użytkownika [pl]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/2x/pl/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Liaoguihui"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/pl/Specjalna:Wk%C5%82ad/Liaoguihui"/>
	<updated>2026-05-20T22:41:40Z</updated>
	<subtitle>Wkład użytkownika</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/2x/pl/index.php?title=Email_setup_gmail&amp;diff=39766</id>
		<title>Email setup gmail</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/pl/index.php?title=Email_setup_gmail&amp;diff=39766"/>
		<updated>2008-07-16T10:10:22Z</updated>

		<summary type="html">&lt;p&gt;Liaoguihui: s&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello. I run Moodle and my project uses the Gmail &#039;domains&#039; service where we use Gmail as our email processor. IE: We have no email service on our server, we use Googles.&lt;br /&gt;
&lt;br /&gt;
We run Moodle to train new developers/staff and so we needed the emails from the courses and Ask a Question type module.&lt;br /&gt;
&lt;br /&gt;
I was able to get Gmail working under these conditions by doing the following:&lt;br /&gt;
&lt;br /&gt;
In the Email section for smtp host I used: smtp.gmail.com&lt;br /&gt;
My @theseventhsungame.net email (Which again we use Gmail domains..)&lt;br /&gt;
The above email&#039;s password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I then opened /lib/phpmailer/ and modified the following files:&lt;br /&gt;
&lt;br /&gt;
class.phpmailer.php &lt;br /&gt;
around line 162 &lt;br /&gt;
&lt;br /&gt;
I changed var$Port =25; to 465&lt;br /&gt;
&lt;br /&gt;
class.phpmailer.smtp&lt;br /&gt;
around line 30&lt;br /&gt;
&lt;br /&gt;
I changed var $SMTP_PORT = 25; to 465&lt;br /&gt;
&lt;br /&gt;
In the class.phpmailer.smtp file&lt;br /&gt;
around line 83&lt;br /&gt;
&lt;br /&gt;
DIRECTLY after the Fucntion header, so the next line after the {&lt;br /&gt;
I added:&lt;br /&gt;
$host=&#039;ssl://&#039; . $host; &lt;br /&gt;
&lt;br /&gt;
I am now sending mail using the GMAIL feature.&lt;br /&gt;
&lt;br /&gt;
http://www.theseventhsungame.net&lt;br /&gt;
http://www.theseventhsungame.net/tssuniversity&lt;br /&gt;
&lt;br /&gt;
Hope that helps someone =)&lt;br /&gt;
&lt;br /&gt;
Sincerely,&lt;br /&gt;
Chel Ramsey&lt;br /&gt;
admin@theseventhsungame.net&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS an additional step you may or may not need to take is to Un-comment the php_openssl.dll extension in php.ini I did not have to do this.&lt;/div&gt;</summary>
		<author><name>Liaoguihui</name></author>
	</entry>
</feed>