By Chidi Igwe on Wednesday, 28 February 2018
Posted in General Issues
Replies 11
Likes 0
Views 871
Votes 0
Hello,

I have two issues.

1. When a user is logged in and wants to share a post, the user clicks on "Social Share." On my installation, the user can share through social media such as Facebook, Twitter, etc. That works. But when the user wants to share by adding recipients' email addresses, it does not work. The system shows that the message has been sent, but the people do not receive any emails. What is the problem?

2. There is also a problem with the "Invite Friends" option. If a user wants to invite his friends to my website, he clicks on the icon on the menu and under "Account", he selects "Invite Friends". The user fills the form with the email addresses and message and sends. The system shows that the invitation has been sent. But the people do not receive any emails.

So, does the messaging plugin work or do I need to activate it somewhere?

Just so you know, when somebody signs up, a message is sent to the admin by email to activate the account. When somebody creates a new group or page, the system sends a message to the admin to approve. When the system is setup for self authentication by users, the system sends email to the user to activate their accounts.

This means that the messaging system is working. But what is not working is sharing by email or inviting friends to the website by email.

What should I do?

Thanks.

Chidi
Hi Chidi,

1. When we share the stream link to recipients(http://take.ms/sWwGK), the email activity should also be generated in the email activity section in the backend(http://take.ms/x2eaN). Are you seeing the email activity being generated?

If it is, is the state marked as sent(green check mark)?

Perhaps you can provide us your backend and ftp access at http://stackideas.com/dashboard/site so I can investigate further?

2. The same goes for users invitation(http://take.ms/qhYt2). If the email activity is generated and marked as sent(green check mark), but user still does not receive them, I would have to investigate and test this out too.
·
Wednesday, 28 February 2018 15:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond,

I looked in the Joomla Component > Easysocial. Yes I can see the email activity. But the email is not going to the recipients. I have submitted FTP and Joomla superuser login details.

Once you fix this, will you give me a fixed Easysocial? Or will you let me know how to fix this? I will be reinstalling my Joomla and the component.

Thanks.

Chidi
·
Wednesday, 28 February 2018 21:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Chidi,

Based on the states in your email activity, it looks like the email has not been sent out yet by EasySocial.

To do this, you only need to set up cronjob on the server if you have not done so that your server can send out the emails periodically. You can refer to our cronjob documentation to find out more.
·
Thursday, 01 March 2018 10:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Raymond,

I manage my server using ISPConfig hosting panel. As you can see in the attached image, I have gone in and set up cronjob. But the mails have not started coming through.

By the way, the server belongs to me. It is running Ubuntu 16.04. If there is a command line that you want me to run through the terminal to get this working, I can do that.

Is there any other thing I need to do?

I have seen the article here https://stackideas.com/blog/invite-your-friends-to-easysocial-with-parainvite.

Should I purchase ParaInvite? Is that better than the basic one that comes with the software?

Let me know if I need to buy ParaInvite, because this is a very important feature that I need in order to get people over to the website.

Chidi
·
Thursday, 01 March 2018 12:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond,

It looks like the problem with the messaging system may be bigger.

I see that the system is set up to send notification by email when someone comments on your post, when someone shares your post, etc. Please see attachment.

But none of that is working. I do not even have lots of people on the system yet that will require scheduling/cronjobs.

The only messaging that works is when someone signs up for a new account, when someone creates a new page/group that requires admin approval. The system sends the notifications in these cases but not in the other cases.

What is wrong?

Chidi
·
Thursday, 01 March 2018 12:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Chidi,

The reason registration and cluster request approval mails are being sent out because those are considered high priority mails that does not need to go through scheduled cronjobs.

For the cronjob, can you confirm that the site url is correct? Since I noticed that the site does not have https or www in the cron command.

If the site url is correct but the cron is still not running, can you provide me access to the server in your site details so I can check and test the cronjob?

As for parainvite, I'm not really familiar on the product since its a third party app but it seems to do a bunch of stuff rather than just invite. So it depends actually if you need to use the features that they have.

Other than that, other also recommended InviteX, and the basic friend invite in EasySocial works too if you're not looking to install another additional extension just for inviting.
·
Thursday, 01 March 2018 13:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Is there a file I can get into to adjust the priority levels of the message types? I would like Friend invite to have the same level of priority as the sign up notification. That's way, it is less controlled by cronjobs.
·
Thursday, 01 March 2018 15:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Chidi,

There is no way to adjust the priority level apart from hacking the core files which is not recommended.

I would suggest that you set up the cronjob to send out mails.
·
Thursday, 01 March 2018 17:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Raymond,

Just to let you know, in case other people have the same issue, I eventually solved the problem.

In addition to setting up cronjobs on the server, you also need to:

1. Log into your Joomla admin and go to Components > EasySocial > Settings
2. Click on General and go to System
3. Turn on "Send E-mails On Page Load"

That was all I did and it worked for me. My installation is on a server that runs ISPConfig 3.

I tested this on two different Joomla installations and it worked perfectly well each time.

I've seen that you have tutorials on how to set up cronjobs on Cpanel, Godaddy, etc.

If you need me to prepare you a tutorial on how to do this on ISPConfig 3, let me know.

Thanks.

Chidi
·
Thursday, 08 March 2018 15:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Chidi,

Actually the 'Send email on page load' is a last resort method for users that cannot use cronjob on their sites.

Basically what is does is send pending notification emails only when ES is loaded in the frontend, which means it does not get executed when no visitor loads ES in the frontend.

The reason this is also a last resort method because it places more burden on the server when there are many users on the site. Imagine trying sending out a ton of emails in 1 second because a ton of users loaded ES on that very second.

Cronjobs on the other hand executes periodically as specified in the cron configuration.

Therefore, since email notification works fine only when you enable this setting, it means that there is still an issue with the cronjob setup.

Perhaps you can provide me access to your hosting panel so I can test and investigate the cron configuration?
·
Thursday, 08 March 2018 15:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post