Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Email Subscription Not Working For Me...
Hi there, @cdavid. I'm no programmer. I installed the plugin and have tried to get emails by using a "local email server" (the Vanilla option if you don't use an SMTP) and also by using an SMTP relay. While using the Vanilla option I never receive an email even though I get a gold star and if using a gmail SMTP I always get a page long error. Can someone please help me?
I have used gmail smtp and also my own private ISP smtp that I *definitely* know the way around and it is still not working. Have tried all variations of SMTP ports and security.
Here is the error I get when using SMTP:
SMTP Error: Could not connect to SMTP host. exception 'Exception' with message 'SMTP Error: Could not connect to SMTP host.' in /home/content/a/m/m/ammaga/html/forum/library/core/class.email.php:201 Stack trace: #0 /home/content/a/m/m/ammaga/html/forum/plugins/EMailSubscribe/default.php(73): Gdn_Email->Send() #1 /home/content/a/m/m/ammaga/html/forum/library/core/class.pluginmanager.php(353): EMailSubscribe->PostController_AfterDiscussionSave_Handler(Object(PostController), Array, 'postcontroller_...') #2 /home/content/a/m/m/ammaga/html/forum/library/core/class.pluginmanager.php(306): Gdn_PluginManager->CallEventHandler(Object(PostController), 'PostController', 'AfterDiscussion...', 'Handler') #3 /home/content/a/m/m/ammaga/html/forum/library/core/class.pluggable.php(122): Gdn_PluginManager->CallEventHandlers(Object(PostController), 'PostController', 'AfterDiscussion...') #4 /home/content/a/m/m/ammaga/html/forum/applications/vanilla/controllers/class.postcontroller.php(174): Gdn_Pluggable->FireEvent('AfterDiscussion...') #5 [internal function]: PostController->Discussion() #6 /home/content/a/m/m/ammaga/html/forum/library/core/class.dispatcher.php(297): call_user_func_array(Array, Array) #7 /home/content/a/m/m/ammaga/html/forum/index.php(38): Gdn_Dispatcher->Dispatch() #8 {main}
I have used gmail smtp and also my own private ISP smtp that I *definitely* know the way around and it is still not working. Have tried all variations of SMTP ports and security.
Here is the error I get when using SMTP:
SMTP Error: Could not connect to SMTP host. exception 'Exception' with message 'SMTP Error: Could not connect to SMTP host.' in /home/content/a/m/m/ammaga/html/forum/library/core/class.email.php:201 Stack trace: #0 /home/content/a/m/m/ammaga/html/forum/plugins/EMailSubscribe/default.php(73): Gdn_Email->Send() #1 /home/content/a/m/m/ammaga/html/forum/library/core/class.pluginmanager.php(353): EMailSubscribe->PostController_AfterDiscussionSave_Handler(Object(PostController), Array, 'postcontroller_...') #2 /home/content/a/m/m/ammaga/html/forum/library/core/class.pluginmanager.php(306): Gdn_PluginManager->CallEventHandler(Object(PostController), 'PostController', 'AfterDiscussion...', 'Handler') #3 /home/content/a/m/m/ammaga/html/forum/library/core/class.pluggable.php(122): Gdn_PluginManager->CallEventHandlers(Object(PostController), 'PostController', 'AfterDiscussion...') #4 /home/content/a/m/m/ammaga/html/forum/applications/vanilla/controllers/class.postcontroller.php(174): Gdn_Pluggable->FireEvent('AfterDiscussion...') #5 [internal function]: PostController->Discussion() #6 /home/content/a/m/m/ammaga/html/forum/library/core/class.dispatcher.php(297): call_user_func_array(Array, Array) #7 /home/content/a/m/m/ammaga/html/forum/index.php(38): Gdn_Dispatcher->Dispatch() #8 {main}
Tagged:
0
Comments
But this can be from a number of causes, but most likely you can check for them in your /var/mail/ folder to see why the sending failed (since I assume it failed) -- if you are on a Linux machine. I'm sorry, but I don't know how e-mails are handled in Windows.
/cd
Thanks for your prompt response. Everything you just said was Greek to me. I'm on a Mac. If I get the gist of what you are saying then I take it that my problem lies with core Vanilla functionality and not your plugin, correct?
0) you don't have a mailserver http://goo.gl/rwr9N
1) you don't have a php-mail extension (but Vanilla should report an error)
2) it's not properly set up (check your /var/mail folder -- I assume it's there since Mac is Unix)
3) the mailserver is not accepting your e-mail (again, check your /var/mail folder)
4) other...
Best thing, as I said, is to check whether you can receive any Vanilla e-mails at all. Then, we can do further debugging.
/cd
Thanks, friend. No need for all of that. I'm now successfully using your other extension where people check the box to send it out. I gave all "members" permission to do that. It rocks.
I'm not getting any e-mails with the plug-in, although I am getting notifications of private messages.
Without the plugin installed.
Any discussion "starred" (bookmarked/favorite-ed) send an email from Vanilla using default mail options (PHP mail functions) or with an SMTP server set.
With the plugin installed.
Starred discussions still send an email. Any others "subscribed to" via the plugin do not generate an email.
I guess the question everyone has is how do we troubleshoot this?
How are you sending email? Obviously the PHP and SMTP options for sending mail in the Vanilla core are working for us .. but the plugin is not.