Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Disable admin/organiser emails only for new registrations #1234

Closed
h-e-l-l-o-w-o-r-l-d opened this issue May 23, 2024 · 5 comments
Closed

Disable admin/organiser emails only for new registrations #1234

h-e-l-l-o-w-o-r-l-d opened this issue May 23, 2024 · 5 comments
Assignees

Comments

@h-e-l-l-o-w-o-r-l-d
Copy link
Contributor

h-e-l-l-o-w-o-r-l-d commented May 23, 2024

Hi,

we have a request to disable the admin/organiser emails only for new registrations (first mail when double opt in is enabled) but keep the emails for confirmed registrations. Reason: Information for new registrations is simply not important and floods the organisers mailboxes.

It seems this cannot be achieved, right? Tried the following but no luck:

plugin.tx_sfeventmgt.settings.notification.registrationNew.adminSubject >

Mails are nevertheless sent with an empty subject.

It would be nice to have a "feature" to not send mails if the subject is empty. Powermail for example has a subject check and doesn't send emails if it's empty. This way you can even "switch" it on/off, depending on plugin configuration, which is ace. It wouldn't be breaking, as subjects were never empty until now.

In the meanwhile... What would be the easiest way to turn these mails off either generally or for specific events?

Thanks in advance!

Extension version

6.6.2

Server configuration

**TYPO3 version:11.5.36
**PHP version:7.4

derhansen added a commit that referenced this issue May 23, 2024
@derhansen derhansen self-assigned this May 23, 2024
derhansen added a commit that referenced this issue May 23, 2024
@derhansen
Copy link
Owner

Adding new settings do disable individual emails would be too much configuration, so checking for an empty subject is most likely the best way to archive this. Next versions of the extension (v6.x and 7.x) will include the check.

@h-e-l-l-o-w-o-r-l-d
Copy link
Contributor Author

Awesome speed. Thank you so much!

@h-e-l-l-o-w-o-r-l-d
Copy link
Contributor Author

Btw, this should be documented in the email config section and/or FAQs -> "How can I disable specific emails?".

@derhansen
Copy link
Owner

@h-e-l-l-o-w-o-r-l-d Would you mind creating a PR for the FAQ change?

@h-e-l-l-o-w-o-r-l-d
Copy link
Contributor Author

No problem, will do so ASAP.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants