• Sign up for TFS Icon Competition! The prize includes Otland Premium time and a medal, as well as obviously taking part in TFS history.
  • 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,741
Solutions
23
Reaction score
2,145
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:

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,256
Solutions
34
Reaction score
1,603
Location
PLand
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!
"Link with informations needed to set new password has been sent to account e-mail address. You should receive this e-mail in 15 minutes. Please check your inbox/spam directory."
Email:
Your account name and password!

You or someone else requested new password for your account on server Forgotten with this e-mail.

Account name: 3

Password: You will set new password when you press on link.

Press on link to set new password. This link will work until next >new password request< in Lost Account Interface.

http://otland.net//?subtopic=lostac...=g8yxmsj6o5gmijk47aubyb4lsdq9od&character=fer

or open page: http://otland.net//?subtopic=lostaccount&action=checkcode and in field "code" write g8yxmsj6o5gmijk47aubyb4lsdq9od

If you don't want to change password to your account just delete this e-mail.

It's automatic e-mail from OTS Lost Account System. Do not reply!
Remember that it loads URL to website from config.lua ;)

My e-mail config for gmail:
PHP:
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "ssl://smtp.gmail.com";
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "secretPassword123";
 

viking

Member
Joined
Aug 20, 2015
Messages
323
Reaction score
22
"Link with informations needed to set new password has been sent to account e-mail address. You should receive this e-mail in 15 minutes. Please check your inbox/spam directory."
Email:

Remember that it loads URL to website from config.lua ;)

My e-mail config for gmail:
PHP:
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "ssl://smtp.gmail.com";
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "secretPassword123";


Hey bro, Here dont send anything with the config, What need to do maybe?
 

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,256
Solutions
34
Reaction score
1,603
Location
PLand
Hey bro, Here dont send anything with the config, What need to do maybe?
Check PHP error log [maybe there is missing some library - SSL].
Make sure that password to your Gmail is fine (login on gmail.com, it may 'unlock' your account - google can block your account for sending too many e-mails [spam]).
Check your config! Even with configured 'e-mails' acc. maker won't send e-mail when you create account:
PHP:
...
$config['site']['send_register_email'] = false;
...
 

viking

Member
Joined
Aug 20, 2015
Messages
323
Reaction score
22
Check PHP error log [maybe there is missing some library - SSL].
Make sure that password to your Gmail is fine (login on gmail.com, it may 'unlock' your account - google can block your account for sending too many e-mails [spam]).
Check your config! Even with configured 'e-mails' acc. maker won't send e-mail when you create account:
PHP:
...
$config['site']['send_register_email'] = false;
...

thanks, where I can check de php erros? My account is unlock I use to my other game too and there work
 

adrenyslopez

Member
Joined
Dec 22, 2015
Messages
102
Reaction score
8
"Link with informations needed to set new password has been sent to account e-mail address. You should receive this e-mail in 15 minutes. Please check your inbox/spam directory."
Email:

Remember that it loads URL to website from config.lua ;)

My e-mail config for gmail:
PHP:
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "ssl://smtp.gmail.com";
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "secretPassword123";
Hey bro can you help me in this?

this is my configuration
Lua:
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['mail_senderName'] = "Zanera-Global";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "smtp.gmail.com";
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "mypassword";
$config['site']['smtp_secure'] = true;

this is what appears to me

ERROR LOST ACCOUNT.png
 

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,256
Solutions
34
Reaction score
1,603
Location
PLand
Hey bro can you help me in this?

this is my configuration
Lua:
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['mail_senderName'] = "Zanera-Global";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "smtp.gmail.com";
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "mypassword";
$config['site']['smtp_secure'] = true;

this is what appears to me

ERROR LOST ACCOUNT.png
It's acc. maker from 2012. Security features changed over time and acc. maker e-mail code does not handle them properly.
I tried to run 0.4 version yesterday and send e-mail by Gmail, but I could not make it work.

I got planned update for PayPal integration (new IPs of PayPal servers). Maybe I will have time to replace 2012 mailing library with 2021 code.
 

Sir Sezago

Scripter/Developer
Joined
Aug 28, 2017
Messages
368
Solutions
1
Reaction score
56
It's acc. maker from 2012. Security features changed over time and acc. maker e-mail code does not handle them properly.
I tried to run 0.4 version yesterday and send e-mail by Gmail, but I could not make it work.

I got planned update for PayPal integration (new IPs of PayPal servers). Maybe I will have time to replace 2012 mailing library with 2021 code.
i hope you update it soon
 

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,256
Solutions
34
Reaction score
1,603
Location
PLand
@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.
 
Last edited:

adrenyslopez

Member
Joined
Dec 22, 2015
Messages
102
Reaction score
8
@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.
Is the account lost already available?
 

adrenyslopez

Member
Joined
Dec 22, 2015
Messages
102
Reaction score
8
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.
You must replace 2 files with content I posted above and use config like in my example.
I followed the steps as you say and I still get this

LOSTACCOUNT.png
so is my configuration and also replace the files, phpmailer.php and smtp.php

CHECK.png
and activate the option in gmail (sorry, it's in spanish)
ACCESS.png
Apart from this I did reload in apache in case some configuration had not been done
 
Last edited:

Sir Sezago

Scripter/Developer
Joined
Aug 28, 2017
Messages
368
Solutions
1
Reaction score
56
@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.
An error occorred while sending email! Try again or contact with admin.
my lost account Page: <?PHPif($config['site']['send_emails']){ if($action == '') { $main_co - Pastebin.com (https://pastebin.com/kSNZHtTF)
Else giving the Same error in create account might you update them else and any change in database to be known?
i already open the port and restart the apache.
 

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,256
Solutions
34
Reaction score
1,603
Location
PLand
An error occorred while sending email! Try again or contact with admin.
my lost account Page: <?PHPif($config['site']['send_emails']){ if($action == '') { $main_co - Pastebin.com (https://pastebin.com/kSNZHtTF)
Else giving the Same error in create account might you update them else and any change in database to be known?
i already open the port and restart the apache.
Tested these changes on Windows. I will test them on Linux today and release with TFS 0.4 update.
I will add page to test e-mails.
 

adrenyslopez

Member
Joined
Dec 22, 2015
Messages
102
Reaction score
8
I followed the steps as you say and I still get this

View attachment 58296
so is my configuration and also replace the files, phpmailer.php and smtp.php

View attachment 58299
and activate the option in gmail (sorry, it's in spanish)
View attachment 58300
Apart from this I did reload in apache in case some configuration had not been done
Tested these changes on Windows. I will test them on Linux today and release with TFS 0.4 update.
I will add page to test e-mails.
Why doesn't it work for me?
 

adrenyslopez

Member
Joined
Dec 22, 2015
Messages
102
Reaction score
8
Looks like you are using some custom version of acc. maker. Where did you download it? Can you post link?
Post automatically merged:

Looks like you are using some custom version of acc. maker. Where did you download it? Can you post link?
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

ERROR NEW.png
 
Last edited:
Top