By David on Friday, 02 February 2018
Posted in General
Replies 6
Likes 0
Views 662
Votes 0
Hi,

I'm trying to use a component to automatically send emails to users when different user events (triggers) occur. Eg, after a user first logs in. Is there a list of Easysocial triggers for such events or is there a trigger for this particular event?

Cheers, David
Hey David,

For logins, you should use the triggers provided by Joomla. Take a look at the user plugin /plugins/user/joomla/joomla.php in the method onUserLogin
·
Friday, 02 February 2018 12:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark,

I've been trying to get this to work for ages but no luck yet. I'm using onUserLogin and CB Auto Actions and have enabled the system plugin for CB AA. I've also set the email to SMTP, and as far as I can tell, all the other settings are correct.

Is there anything I'm missing?

Do I need to set a Cron job for this or should the email get sent immediately after the user logs in - without a Cron?

Cheers, David
·
Friday, 02 February 2018 13:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi David,

To be honest, I am not familiar with how Community Builder's Auto Actions work and how to set it up.

It could be that maybe there are certain triggers that are not supported by the plugin. It would best to consult them about your issue as the plugin is developed by them.
Do I need to set a Cron job for this or should the email get sent immediately after the user logs in - without a Cron?
Since I'm not really understanding the full scope of what you are trying to achieve, I cannot really provide a solid answer. If you are referring to the plugin, you should definitely consult Community Builder as I mentioned.

Joomla registration emails do not require cronjobs to be sent out, so do registration emails and user/pass reset emails in EasySocial, other type of emails in EasySocial do require cronjob to be processed.
·
Friday, 02 February 2018 17:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post