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

website email MYACC verification

lopez65

Member
Joined
May 10, 2012
Messages
289
Solutions
1
Reaction score
14
Location
Barcelona
Hello friends, I am trying to configure the MYACC email verification system.
-------------------------------------------------------
my steps:

Create an account in gmail, then enter your account and go to settings, then forwarding and POP/IMAP mail, activate "Enable POP for all messages (even if they have already been downloaded)", once you have done this and your gmail account is perfect for redirecting, then in config.ini in your ACC, put the data:

smpt host: ssl://smtp.gmail.com
smpt user: your gmail account
smpt pass: password of your gmail account
smpt port: 465

After that, make sure you have the option to send email activated in your ACC, in the admin panel, more specifically:

"Is your server configured to send registration e-mails?" <Yes

And ready! =]
----------------------------------------------
result:

PHP:
    // mail
    'mail_enabled' => false, // is aac maker configured to send e-mails?
    'mail_address' => '[email protected]', // server e-mail address (from:)
    'mail_admin' => '[email protected]', // admin email address, where mails from contact form will be sent
    'mail_signature' => array( // signature that will be included at the end of every message sent using _mail function
        'plain' => ""/*"--\nMy Server,\nhttp://www.myserver.com"*/,
        'html' => ''/*'<br/>My Server,\n<a href="http://www.myserver.com">myserver.com</a>'*/
    ),
    'smtp_enabled' => true, // send by smtp or mail function (set false if use mail function, set to true if you use GMail or Microsoft Outlook)
    'smtp_host' => 'ssl://smtp.gmail.com', // mail host. smtp.gmail.com for GMail / smtp-mail.outlook.com for Microsoft Outlook
    'smtp_port' => 465, // 25 (default) / 465 (ssl, GMail) / 587 (tls, Microsoft Outlook)
    'smtp_auth' => true, // need authorization?
    'smtp_user' => '[email protected]', // here your email username
    'smtp_pass' => '**********',
    'smtp_secure' => 'ssl', // What kind of encryption to use on the SMTP connection. Options: '', 'ssl' (GMail) or 'tls' (Microsoft Outlook)
    'smtp_debug' => false, // set true to debug (you will see more info in error.log)

PHP:
    'account_mail_verify' => true, // force users to confirm their email addresses when registering account
    'account_mail_unique' => true, // email addresses cannot be duplicated? (one account = one email)
--------------------------------------------------------------------------------
web error:
An error occorred while sending email! Account not created. Try again. For Admin: More info can be found in system/logs/mailer-error.log

system/logs/mailer-error.log
SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki (https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting) <----- error
-------------------------------------------------------

if someone can guide me thanks---------PS: I use the latest version of xampp

Download PHPMailer: Releases · PHPMailer/PHPMailer (https://github.com/PHPMailer/PHPMailer/releases)
Extract to MYAAC directory (where this config.php file is located)
Rename the folder to "PHPMailer".
 
Last edited:
Solution
Gmail stopped supporting password login last month, you now have to use an App Password to login.
For me it still worked some days into June but then I had to change it.
Gmail stopped supporting password login last month, you now have to use an App Password to login.
For me it still worked some days into June but then I had to change it.
 
Solution
config.php/htdocs

PHP:
    // mail
    'mail_enabled' => false, // is aac maker configured to send e-mails?
    'mail_address' => '[email protected]', // server e-mail address (from:)
    'mail_admin' => '[email protected]', // admin email address, where mails from contact form will be sent
    'mail_signature' => array( // signature that will be included at the end of every message sent using _mail function
        'plain' => ""/*"--\nMy Server,\nhttp://www.myserver.com"*/,
        'html' => ''/*'<br/>My Server,\n<a href="http://www.myserver.com">myserver.com</a>'*/
    ),
    'smtp_enabled' => true, // send by smtp or mail function (set false if use mail function, set to true if you use GMail or Microsoft Outlook)
    'smtp_host' => 'smtp.gmail.com', // mail host. smtp.gmail.com for GMail / smtp-mail.outlook.com for Microsoft Outlook
    'smtp_port' => 465, // 25 (default) / 465 (ssl, GMail) / 587 (tls, Microsoft Outlook)
    'smtp_auth' => true, // need authorization?
    'smtp_user' => '[email protected]', // here your email username
    'smtp_pass' => '*************',
    'smtp_secure' => 'ssl', // What kind of encryption to use on the SMTP connection. Options: '', 'ssl' (GMail) or 'tls' (Microsoft Outlook)
    'smtp_debug' => true, // set true to debug (you will see more info in error.log)

config.local.php <--------<added

PHP:
$config['mail_enabled'] = true;

$config['mail_admin'] = '[email protected]';
$config['mail_address'] = '[email protected]';

------------------------
my big question to all this what message am I going to receive, or do I have to add in the Gmail section save some kind of msg
-------------


mailer-error.log
Lua:
[Tue, 14 Jun 2022 12:46:17 +0200]
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
2022-06-14 10:46:17    SERVER -> CLIENT: 220 smtp.gmail.com ESMTP h18-20020a05600c351200b0039c50d2d28csm17559947wmq.44 - gsmtp
2022-06-14 10:46:17    CLIENT -> SERVER: EHLO localhost
2022-06-14 10:46:17    SERVER -> CLIENT: 250-smtp.gmail.com at your service, [213.194.166.14]
                                         250-SIZE 35882577
                                         250-8BITMIME
                                         250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
                                         250-ENHANCEDSTATUSCODES
                                         250-PIPELINING
                                         250-CHUNKING
                                         250 SMTPUTF8
2022-06-14 10:46:17    CLIENT -> SERVER: AUTH LOGIN
2022-06-14 10:46:17    SERVER -> CLIENT: 334 VXNlcm5hbWU6
2022-06-14 10:46:17    CLIENT -> SERVER: VGliaWFybDJHYW1lU3Vwb3J0QGdtYWlsLmNvbQ==
2022-06-14 10:46:17    SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2022-06-14 10:46:17    CLIENT -> SERVER: OTMzODM5MzE5cGs=
2022-06-14 10:46:17    SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. Learn more at
                                         535 5.7.8  https://support.google.com/mail/?p=BadCredentials h18-20020a05600c351200b0039c50d2d28csm17559947wmq.44 - gsmtp
2022-06-14 10:46:17    SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. Learn more at
                                         535 5.7.8  https://support.google.com/mail/?p=BadCredentials h18-20020a05600c351200b0039c50d2d28csm17559947wmq.44 - gsmtp
2022-06-14 10:46:17    SMTP Error: Could not authenticate.
2022-06-14 10:46:17    CLIENT -> SERVER: QUIT
2022-06-14 10:46:17    SERVER -> CLIENT: 221 2.0.0 closing connection h18-20020a05600c351200b0039c50d2d28csm17559947wmq.44 - gsmtp
2022-06-14 10:46:17    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
 
Gmail stopped supporting password login last month, you now have to use an App Password to login.
For me it still worked some days into June but then I had to change it.
I was very lucky to get your comment. After hours of searching everywhere, yours has been the only solution that has worked for me. Thanks a lot.
 
Back
Top