help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Mails when editing events

Mails when editing events

8 years 2 months ago
#22733
Testing JEM 2.2.0

If the user chooses the option "I will not go", so when editing events are still coming mails the same as the logged-in attendees (mail text string: PLG_JEM_MAILER_RECIPIENT_BECAUSE_ATTENDEE).
The same text is in the mail for users who are sent invitation only.

I think it's a bug.

According to me it should be properly (suggestions for correction)

For users (I will not go) - should go no mail (this participant is considered as spam mail).
For invited attendees: in the mail to edit text, "because you are invited to the event"

Please Log in or Create an account to join the conversation.

Re: Mails when editing events

8 years 2 months ago
#22736
Hi Kralyk,

it's not a bug, it's a feature.

All users anyhow registered on an event will receive an email if the event was modified. Including users which sayd "I can't participate" - maybe the cause was a bad date which has now changed so they could now attend. It's up to the user to ignore this notification or not.

The text PLG_JEM_MAILER_RECIPIENT_BECAUSE_ATTENDEE is for all registered users independent their specific status. It's only a little help because also administrators, JEM group members, creators, or users on a category's mailing list could also receive an email. So this information can help to understand the cause for this email and possibly a correction like removing the user from category's mailing list.

Please Log in or Create an account to join the conversation.

Re: Mails when editing events

8 years 2 months ago
#22738
Hi Hoffi, I understand what you mean, but anyway ....;-)

To tell the truth, do not really understand why it's not set up that way.
When I take it logically and after the experience on our website:

I understand this:
A participant (invited and Those who register themselves) wants to receive information about change events. It's alright.

But I really do not understand this:
The user, who sets the option that does not want to be attendee (answered because they got an invitation) and it marks so that they did not get emails.
Now receive each mail about change event, stating that the participant. Then consider it as spam. This is illogical.
If they really wanted to, so whenever they can later re-register for the event and receive these emails again.

Is it possible to adjust to these users, these mails did not receive?

In my experience, many people came to me and asked me how to turn off these mails when you set up the event to not participate.

I'm sorry, I just wanted to give my recent experience with this current setup.

Please Log in or Create an account to join the conversation.

Re: Mails when editing events

8 years 2 months ago - 8 years 2 months ago
#22739
Hm... seems you have a very special interpretation of events and registration.

The normal use-case is: I create an event "Party next Sunday. Who comes?" and invite some people I would like to see. Then these people say Yes or No. That's all.
Maybe it's required to change the event one or two times, but this is very far from spam.

It sounds as if you use it as twitter replacement. Than you're right. In this case the only way for non-attendees is to ask the event creator or an admin to remove them from event's list of registered users.

But if you need never to send a notification email to non-attending users you could patch the mailer plugin on your site.
Open file /plugins/jem/mailer/mailer.php and search for
Code:
if(!empty($send_to['registered'])) {
within function _getRecipients(). It should be line 780. Then insert in line 800 (between "$query->where..." and "$db->setQuery...") the line
Code:
$query->where('reg.status >= 0'); // exclude non-attending users

To be perfect you should then also remove the part "not attending, " from PLG_JEM_MAILER_RECIPIENT_BECAUSE_ATTENDEE within the language files. B)

This patch should perfectly meet your logic. But it doesn't match my logic so don't forget to "replay" this patch each time you update JEM.
Last edit: 8 years 2 months ago by Hoffi.

Please Log in or Create an account to join the conversation.

Re: Mails when editing events

8 years 2 months ago
#22740
@Kralyk:
Isn't this the same issue as in your other topic?
www.joomlaeventmanager.net/forum/jem-2-2-x-on-joomla-3/9912-mail-for-invited-attendees
Repository: Github // Issues: Github // Languages: Transifex

Please Log in or Create an account to join the conversation.

Re: Mails when editing events

8 years 2 months ago
#22743
Hi diesl,
Actually, you're right, the last post I wrote at the time I did not understand how sending e-mail works and how it's meant.

Please Log in or Create an account to join the conversation.

Time to create page: 0.638 seconds