By John Bloomfield on Friday, 27 July 2018
Posted in Technical Issues
Replies 11
Likes 0
Views 492
Votes 0
Hi

It appears that email notifications are not being sent to users. All appears to be properly enabled but they are all pending!

Also they all show as having the easy social logo is there away we can switch this out for our site logo - on all emails in one go?
I found how to change the logo though it took a lot of clicking - While I find the helpdesk to be good I don't find the documentation to be great as search often doesn't throw up great results.

Still need help with the emails though.
·
Friday, 27 July 2018 02:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You can do it by setting up the Cronjob. Cronjob is actually a task scheduler. You can check it out here on how to set up Cronjob for your email notification.

If the email notification still unable to send out automatically, perhaps you can provide us with your cpanel access so i can able to assist you regarding this.

Thank you.
·
Friday, 27 July 2018 13:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Irwin

is not supposed to work without a cron job?

I have however set this up as advised - will it clear the bakclog or just send new emails?

The Joomla PHP mailer seems to be working fine and mass mailer is turned on so I didn't think cron jobs would be necessary - do I need to turn "Use Secure Cronjob URL" to on?
·
Friday, 27 July 2018 15:50
·
0 Likes
·
0 Votes
·
0 Comments
·
receiving the attached errors from the cronjob

/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
·
Friday, 27 July 2018 16:04
·
0 Likes
·
0 Votes
·
0 Comments
·
I have added our cpanel details to the hidden additional information box
·
Friday, 27 July 2018 16:13
·
0 Likes
·
0 Votes
·
0 Comments
·
since realising I had missed the closing " and updating the error has changed to

/bin/sh: /bin/wget: No such file or directory
·
Friday, 27 July 2018 16:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi John,

It is advisable to use cronjob instead of enabling "Send E-mails on Page Load" setting, because it will affected your site performance issue.

Imagine if you have 1 millions users access your site at the same time, the system will trigger the script 1 millions times then it will completely take some time to proceed it.

If you setup cronjob and set the cron interval time to 5 minute, it will execute this script for every 5 minute silently and it will not affect your site performance.

If you enable this "Use Secure Cronjob URL" setting, it will prevent public user to access this cronjob URL.
Yes, i would recommend that enable this setting and set your secure key.
Once you save the setting, it will regenerate that cronjob secure URL, so you have to copy this URL and set into your cron command.

for example :

/usr/bin/wget -O /dev/null "http://yoursite.com/index.php?option=com_easysocial&cron=true&phrase=YourSecureKey
·
Friday, 27 July 2018 16:57
·
0 Likes
·
0 Votes
·
0 Comments
·
While

I appreciate this information there seems little point in adding a passphrase when the cronjob is failing without
·
Friday, 27 July 2018 17:08
·
0 Likes
·
0 Votes
·
0 Comments
·
my host advised adding /usr/ before wget.

I am just waiting from the job to process and see if this fixes the issue.
·
Friday, 27 July 2018 17:14
·
0 Likes
·
0 Votes
·
0 Comments
·
I think this has resolved the issue - might be worth noting for future that the host was Rochen in case this comes up again.

Latest Crn confirmation

-2018-07-27 10:15:01-- https://xxx.com/index.php?option=com_easysocial&cron=1
Resolving buildaport.com... 89.145.92.12
Connecting to buildaport.com|89.145.92.12|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2506 (2.4K) [application/json]
Saving to: “/dev/null”

0K .. 100% 44.2M=0s

2018-07-27 10:15:09 (44.2 MB/s) - “/dev/null” saved [2506/2506]
·
Friday, 27 July 2018 17:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Keep us update if you encounter any other errors.

Thank you.
·
Friday, 27 July 2018 17:18
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post