• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Gesior Acc Latest! Lost Account Setup Gmail

Printer

if Printer then print("LUA") end
Senator
Premium User
Joined
Dec 27, 2009
Messages
5,782
Solutions
31
Reaction score
2,284
Location
Sweden?
Hello,

I setup lost account but it doesnt work, it doesnt send anything:
Code:
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "mail.gmail.com";  
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "myot123";

Thanks in advice!
 
Last edited:
@adrenyslopez

There are 2 problems with GMail:
1. Acc. maker mailing code is from 2012. GMail does not allow unsecure connections (TLS lower than 1.2).
2. GMail does not want you to send application e-mails by your account.

AD 1:
Acc. maker updates required (I will release them on github on weekend) :
classes/phpmailer.php : http://paste.ots.me/563696/text
classes/smtp.php : http://paste.ots.me/563697/text

Config for g-mail:
Code:
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "smtp.gmail.com";
$config['site']['smtp_port'] = 587;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "yourpassword";

AD 2:
Go that site and enable 'not secure apps' on account that you want to use for mailing:
I'm not sure, if it will work, if you use 2-step auth. Tested it with new gmail account with username-password login without 2-step and it worked.

-------------
New PayPal IPs are already on GitHub:
I'm working on TFS 0.4 version update - PHP 8.0 compatibility as it is in 1.2 - 1.3 versions.
I configured according to your instructions. And such an error pops up.

Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\classes\phpmailer.php on line 165
 
Post automatically merged:


add a missing query to the database and right now I have this error
Lua:
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Didn't have time to test otservbr version. Do you try to configure it to send e-mails by Gmail?
Tested in windows xampp but doesn't work too i open mezula in xampp or whatever is that
There are 2 options:
1. Gmail or other e-mail accounts provider.
2. Paid SMTP service that will send e-mails for you.

Sending e-mails from XAMPP will probably not work. Even if you turn it on somehow, all your e-mails will go to 'spam'.
I configured according to your instructions. And such an error pops up.

Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\classes\phpmailer.php on line 165
PHP 5.3 error :) Recommended PHP version is 8.0.

Just updated acc. maker phpmailer and PHP 8.0 compatibility in TFS 1.3, TFS 1.2 and TFS 0.4 branches:

Also added page 'testmail.php' ( https://raw.githubusercontent.com/gesior/Gesior2012/TFS-1.3/pages/testmail.php ), which you can use to test, if mailer works and what problems return gmail/your provider.
 
Didn't have time to test otservbr version. Do you try to configure it to send e-mails by Gmail?

There are 2 options:
1. Gmail or other e-mail accounts provider.
2. Paid SMTP service that will send e-mails for you.

Sending e-mails from XAMPP will probably not work. Even if you turn it on somehow, all your e-mails will go to 'spam'.

PHP 5.3 error :) Recommended PHP version is 8.0.

Just updated acc. maker phpmailer and PHP 8.0 compatibility in TFS 1.3, TFS 1.2 and TFS 0.4 branches:

Also added page 'testmail.php' ( https://raw.githubusercontent.com/gesior/Gesior2012/TFS-1.3/pages/testmail.php ), which you can use to test, if mailer works and what problems return gmail/your provider.
So how can i fix smtp without xampp
 
Back
Top