× Joomla Facebook Connect support forum

Topic-icon New Comment notification via mail does not work

Active Subscriptions:

None
14 years 10 months ago #11799 by rog
I don't get any mails on new comments or likes, even though I enabled this function in the backend component. Any ideas?

Sample page with comments:

www.se-first.com/Xperia-active-is-it-really-waterproof.html
The topic has been locked.
Support Specialist
14 years 10 months ago #11803 by alzander
On the page you linked to, you don't look to have an Facebook AppId specified. JFBConnect requires this for a few different operations. For normal commenting and liking, it isn't required, but to enable the authentication functionality and other enhanced functionality, you'll need to create a Facebook application and insert the AppId in the Facebook API configuration tab.

I'm not sure if that's the cause of you not getting an email, but it's possible. The other things to check are:
* Is the email you entered in the notification area correct?
* Can you enter another email address (comma separated) to see if the other address gets it.
* Check spam folders and other black holes it may have gone to.

Hope this helps get you started, but if you still don't receive them, just let us know,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 10 months ago #11804 by rog
OK, added the App ID and also added 2 more mail addresses - unfortunately, still no notifications...
The topic has been locked.
Active Subscriptions:

None
14 years 10 months ago #11833 by rog
Any other idea?? This feature is important to me, it differentiates your solution from other ones...

Something I just saw in the FCBConnect component:

Configuration Information

No Application Logo Set
Application Name:
Site URL:

Site Domain:
WARNING: POSSIBLE MISCONFIGURATION
We suggest updating your Site URL to: www.se-first.com/
You can do this by visiting: Facebook Developers
Select your application -> Edit Settings -> Web Site.
You should configure the Site URL and Domain.

I actually have set all the IDs (guess otherwise users wouldn't be able to capture comments??), and in the facebook app, the Domain and the site URL are set as described
The topic has been locked.
Support Specialist
14 years 10 months ago #11838 by alzander
Rog,
Unfortunately, no I don't have any magic bullet suggestions as to what may be the problem from what you've described. Would it be possible to Private Message us a set of super admin credentials so we can look into this further. You can PM me by clicking the arrow under my name (<----) and hitting the mail icon.

Hopefully, it's something we can get in and figure out quickly. Sorry for the troubles, but there's no reason this should be happening, so I'm confident we'll be able to get you going soon.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 10 months ago #11844 by rog
OK, PM sent
The topic has been locked.
Support Specialist
14 years 10 months ago #11849 by alzander
Rog,
With a little debugging, I was able to get the following error to appear when trying to send the mail:

JException Object ( [level] => 8 [code] => 500 [message] => PHPMAILER_EXECUTE/usr/sbin/sendmail [info] => [file] => [line] => 0 [function] => [class] => [type] => [args] => Array ( ) [backtrace] => [_errors] => Array ( ) )


Whether that's garbage to you or not, it's basically stating that sendmail (the currently selected mailing program in your Joomla configuration) didn't want to send our mail. I then went to the Global Configuration area, and in the Server tab, set your mailer to "PHPMail". Once set, the notification emails came through just fine.

I changed the setting back to sendmail, just in case it was set there for a reason. If not, I'd recommend PHPMail. JFBConnect uses Joomla's built-in mail functionality, so my guess is that this issue would affect other mails, not just JFBConnect. Hopefully, this solution will work for you.

Let us know how it goes, and thanks for your patience,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 10 months ago #11859 by rog
Hi Alex,

Thanks for your investigations! Sendmail was probably set by accident - I switched it bsck to PHPMail again. However, I still don't get any notification, on neither of the addresses (just to minimize chances of spam filters getting in the way), I even used different facebook profiles to post comments.
Did you actually get notification mails? Or did you see them as being sent in log/debug entries?

Thanks again.

PS: I just checked whether our Joomla installation doesn't send out mails at all, but it does (e.g. when registering new users) --> I guess the problem must be in connection with FJBConnect
The topic has been locked.
Support Specialist
14 years 10 months ago #11866 by alzander
I did get an email, but it was by directly hitting the page below, which is what we call when a new comment is created:

Feel free to try that link, and see if you get the notification. If so, then maybe there's another issue with the Javascript call we're using to trigger that page from sending the email. I'd also recommend:
* Trying just one email address (just in case)
* Try our email address (This email address is being protected from spambots. You need JavaScript enabled to view it.) - I'll respond here if I get it
* The email notifications do not check who the FB user is at all, so that doesn't affect the notifications.

We did do a little more investigation last night into the mailing function we're using within Joomla. It does actually state that it uses PHPMailer only. Our understanding was actually that it would use PHPMailer regardless of your Joomla setting, but obviously, that's not the case. We're planning on looking into a more agnostic mailer function in a future version to avoid this.

Again, if you require sendmail, let us know, and we'll re-prioritize our investigation (since it'd be preventing you from using it). Otherwise, it will be a lower priority as you're the only one who's encountered this problem :)

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 10 months ago #11867 by rog
I do get the notification when I click the link you provided, on all 3 mail addresses I configured. So spam filter is not the problem, the mail sending from my server neither. Must be something else...
The topic has been locked.