derhansen / sf_event_mgt

An event management and registration extension for TYPO3 CMS based on ExtBase and Fluid.
GNU General Public License v2.0
59 stars 55 forks source link

Disable admin/organiser emails only for new registrations #1234

Closed h-e-l-l-o-w-o-r-l-d closed 4 months ago

h-e-l-l-o-w-o-r-l-d commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

Awesome speed. Thank you so much!

h-e-l-l-o-w-o-r-l-d commented 5 months ago

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

derhansen commented 5 months ago

@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 commented 5 months ago

No problem, will do so ASAP.