silverstripe-framework/src/Control/Email/Mailer.php
Daniel Hensby 3ea5015f8b NEW Move to SwiftMailer powered Emails (#6466)
* API Replace existing Email and Mailer classes with SwiftMailer powered email system

* DOCS New Email docs

* Initial feedback from Damian

* Making Mailer an interface

* Templates relocated

* Round of feedback

* More robust approach to plain parts

* Revert changes to TestMailer
2017-01-13 14:48:46 +13:00

14 lines
165 B
PHP

<?php
namespace SilverStripe\Control\Email;
interface Mailer
{
/**
* @param Email $email
* @return bool
*/
public function send($email);
}