• 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!

email sending error

zapo

Member
Joined
Nov 10, 2020
Messages
129
Solutions
3
Reaction score
11
Adnotacja 2021-03-24 194316.png
Lua:
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "xxxxxxx";
$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'] = "xxxxxxx";
$config['site']['smtp_pass'] = "xxxxxxx";

Help please
 
why not just use the phpmailer function instead of setting up smtp?
He's gonna land in the spam folder unless he sets all the E-Mail DNS records up correctly, sets up DKIM signing and whatnot. Using some standard GMail account for it probably makes it easier for him, and should probably also not land him in the spam folder that quickly.
 
You need to update 2 files in acc. maker and change in config host (no ssl:// at start) and port (587, not 465).
Then you need to update settings of GMail account to allow sending mails from PHP applications.
Full information:
 
Back
Top