studiomitte/sent-mails

Installs: 479

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 3

Type:typo3-cms-extension

0.0.1 2024-02-29 07:44 UTC

This package is auto-updated.

Last update: 2024-11-05 09:11:55 UTC


README

This extension provides a simple way to persist all sent mails in the database. Using a dedicated backend module a user can:

  • view the mail including plain & HTML view
  • resend the mail
  • forward the mail to a different email address
  • reject mails with a specific content
  • send a test email

module.png

Installation

This extension requires the usage of composer!

composer req studiomitte/sent-mails

Features

Reject sending mails

The extension provides a simple way to reject sending mails with a specific content. This can be useful to prevent sending mails to special email addresses. The current use case is to skip sending mails triggered by frontend tests which use a specific email address like cypress+1709191116@domain.tld.

The regex searchwords can be configured in the extension settings with e.g. cypress\+[\._a-zA-Z0-9-]+@domain\.tld'.

Mail-Information API

Calling /api/mailinformation?search=somecontent will return a status information about the sent mails. Basic auth needs to be configured in the extension settings. It only allows to retrieve the information of mails sent in the last 60 seconds

In combination with the feature "Reject sending mails" this can be used to check if a mail would have been sent or not.