| Current Path : /home/jeromecohp/www/tmp/yooessentials/modules/core/src/ |
| Current File : /home/jeromecohp/www/tmp/yooessentials/modules/core/src/Mailer.php |
<?php
/**
* @package Essentials YOOtheme Pro (Freemium) 1.6.8
* @author ZOOlanders https://www.zoolanders.com
* @copyright Copyright (C) Joolanders, SL
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
namespace ZOOlanders\YOOessentials;
interface Mailer
{
public function addRecipient(string $recipient, string $name = ''): self;
public function addCc(string $cc, string $name = ''): self;
public function addBcc(string $bcc, string $name = ''): self;
public function addReplyTo(string $replyTo, string $name = ''): self;
public function setFrom(string $from, string $name = ''): self;
public function setSubject(string $subject): self;
public function setBody(string $content): self;
public function setAltBody(string $content): self;
public function isHtml(bool $isHtml): self;
public function addAttachment(string $filePath): self;
public function send(): bool;
}