← All modules

Magento 2 module · foundation

Simple Mail

Lets Infrangible modules send plain emails, such as task reports, through the store's mail setup, and adds a test mail button to the admin.

Simple Mail lets other Infrangible modules send emails that do not need a designed email template, for example status reports of background tasks. The emails are sent through the normal mail setup of the store, so SMTP modules or other mail services configured in the store are used as well. In addition, it gives you a quick way to check whether your store can send emails at all.

Merchants normally don’t install it directly: it is pulled in automatically by modules that send such emails, such as “Task” and “SMTP”.

Features

  • Sending of plain emails with sender, recipients, copy and blind copy recipients, subject and text or HTML content.
  • A Send Test Mail button in the admin that sends a short test message and shows directly on the page whether sending worked or which error occurred.

Configuration

The test mail is found under Stores > Configuration > Infrangible Solutions > Simple Mail > Test Mail. Choose a Sender (one of the store email addresses), enter a Receiver and click Send.

Good to know

Simple Mail is a building block installed automatically with “Task” and “SMTP”.

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-simple-mail

Then enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.