Giter VIP home page Giter VIP logo

sent_mails's Introduction

TYPO3 Extension sent_mails

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 [email protected].

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.

sent_mails's People

Contributors

georgringer avatar

Stargazers

Ingo Fabbri avatar Maik Schneider avatar Elias Häußler avatar

Watchers

Mario Rader avatar Elmar Putz avatar

sent_mails's Issues

Remove dependency to EXT:recycler

Hi,
if EXT:recycler is not installed, the backend module fails with
#1441706370 InvalidArgumentException
Button "TYPO3\CMS\Backend\Template\Components\Buttons\LinkButton" is not valid
because the docheader button is using the recycler label LLL:EXT:recycler/Resources/Private/Language/locallang.xlf:button.reload

Please move this label to Resources/Private/Language/locallang.xlf or make recycler a dependency

Not possible to handly attachments

Hi,

the persistence fails when sending emails with attachemnts with the error message:

(1/3) #1406 Doctrine\DBAL\Exception\DriverException

An exception occurred while executing a query: Data too long for column 'message' at row 1

It probably makes sense to either catch that error and have the mail be sent anyways and/or extend the message table to mediumtext

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.