-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending activation emails through GMail #1
Comments
It would be best to use composer, I didn't initially do it this way because I wanted it to be simple. However, it looks like the error is from the missing Exception.php file. |
It works perfectly using composer require function. Thank you! |
My only issue now the activation link. When I click on it, it drops this error in nginx log:
|
commit 39805104c33a87abe6c0f811aad3a9f226fb9fda should fix this |
changing to public returns line 6 in activate.php Now it removes the key for the registered uid from activate_keys in MySQL before returning the error when clicking activation link and activates the registration, only the return message function not working |
My mistake, i just had the wrong variable assigned 0c706c53ca8b50209fb0be26e493ed6457010957. |
Everything's perfect now, thank you! |
Hi,
Thanks for sharing this awesome work, I love it! I'm trying to use the PHPMailer function to send out activation emails through gmail account:
const EMAIL_HOST = 'smtp.gmail.com';
const SMTP_PORT = '587';
I've already enabled less secure apps and IMAP access in Gmail settings, but it throws this fatal error right after registration:
I'm not sure how to resolve the Exception issue. Should I use compose for PHPMailer?
Thanks in advance
The text was updated successfully, but these errors were encountered: