It seems email subscribe plugin is causing this error: Here below more details about this error, did I do something wrong?
Thanks in advance
exception 'phpmailerException' with message 'SMTP Error: Could not authenticate.' in /home/kapdiagn/public_html/forum/library/vendors/phpmailer/class.phpmailer.php:815 Stack trace: #0 /home/kapdiagn/public_html/forum/library/vendors/phpmailer/class.phpmailer.php(706): PHPMailer->SmtpConnect() #1 /home/kapdiagn/public_html/forum/library/vendors/phpmailer/class.phpmailer.php(577): PHPMailer->SmtpSend('Date: Fri, 30 D...', 'Adminstrator ha...') #2 /home/kapdiagn/public_html/forum/library/core/class.email.php(202): PHPMailer->Send() #3 /home/kapdiagn/public_html/forum/plugins/EMailSubscribe/default.php(73): Gdn_Email->Send() #4 /home/kapdiagn/public_html/forum/library/core/class.pluginmanager.php(648): EMailSubscribe->PostController_AfterDiscussionSave_Handler(Object(PostController), Array, 'postcontroller_...') #5 /home/kapdiagn/public_html/forum/library/core/class.pluginmanager.php(590): Gdn_PluginManager->CallEventHandler(Object(PostController), 'PostController', 'AfterDiscussion...', 'Handler') #6 /home/kapdiagn/public_html/forum/library/core/class.pluggable.php(127): Gdn_PluginManager->CallEventHandlers(Object(PostController), 'PostController', 'AfterDiscussion...') #7 /home/kapdiagn/public_html/forum/applications/vanilla/controllers/class.postcontroller.php(202): Gdn_Pluggable->FireEvent('AfterDiscussion...') #8 /home/kapdiagn/public_html/forum/library/core/class.dispatcher.php(322): PostController->Discussion() #9 /home/kapdiagn/public_html/forum/index.php(53): Gdn_Dispatcher->Dispatch(Array, Array) #10 {main}
Comments
This may sound like a stupid question, but: Did you check your email/SMTP settings? Sounds like the plugin fails to authenticate at the mailserver.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hi thanks for answering,
Yes I did check email setting and it's alright!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •What do you mean it's alright. Do you mean you solved your own problem? Otherwise look here: /forum/library/vendors/phpmailer/class.phpmailer.php:815
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I have checked SMTP details and they are OK but still I have this issue.
I have checked /forum/library/vendors/phpmailer/class.phpmailer.php:815
$connection = true; if ($this->SMTPAuth) { if (!$this->smtp->Authenticate($this->Username, $this->Password)) { throw new phpmailerException($this->Lang('authenticate')); }
does this informatioin help?
Thanks
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Yes it does.
Unfortunately, this is your problem:
if (!$this->smtp->Authenticate($this->Username, $this->Password)) { throw new phpmailerException($this->Lang('authenticate')); }This will generate your exception.What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •oh Thanks for this; so how can I avoid this "exception"?
Is this a problem with SMTP configuration? hosting? What is "lang"?
Thanks
Hello any good news for this issue?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Issue solved !! There was something wrong in the var/mail folder.
Thanks
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@UnderDog: i'm wondering about the same thing as @mikizzi, how can I avoid this "exception"?
Related: BONK on "Click here to resend the confirmation email."
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •