18 lines
482 B
PHP
18 lines
482 B
PHP
<?php
|
|
|
|
namespace TheBugs\Email;
|
|
|
|
interface MailerInterface
|
|
{
|
|
public function send(string $subject, string $message, bool $html = true) : bool;
|
|
|
|
public function setFrom(string|\Stringable|array $from) : self;
|
|
|
|
public function attach(mixed $attachment) : self;
|
|
|
|
public function setTo(string|\Stringable|array $to) : self;
|
|
|
|
public function setBCC(string|\Stringable|array $bcc) : self;
|
|
|
|
public function setCC(string|\Stringable|array $cc) : self;
|
|
} |