Sample code for sending a email
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Console/Command
Model
etc
README.md
composer.json
registration.php

README.md

Magento 2 Module Send Simple Email Example

This is a simple example module on how to send a email with minimal code and without using the Magento Email templating system

  • Dependency Inject construct \Experius\SendSimpleEmailExample\Model\Mail $mail
  • Then trigger the email by using $this->mail->sendMessage();