class SendmailMailer implements Mailer

Sends emails via the PHP internal mail() function.

Properties

$commandArgs

Methods

setSigner(Signer $signer)

No description

setEnvelopeSender(bool $state = true)

Sets whether to use the envelope sender (-f option) in the mail command.

void
send(Message $mail)

Sends email.

void
invokeMail(string $to, string $subject, string $body, string $headers, string $cmd)

No description

Details

at line 23
SendmailMailer setSigner(Signer $signer)

No description

Parameters

Signer $signer

Return Value

SendmailMailer

at line 33
SendmailMailer setEnvelopeSender(bool $state = true)

Sets whether to use the envelope sender (-f option) in the mail command.

Parameters

bool $state

Return Value

SendmailMailer

at line 44
void send(Message $mail)

Sends email.

Parameters

Message $mail

Return Value

void

Exceptions

SendException

at line 76
protected void invokeMail(string $to, string $subject, string $body, string $headers, string $cmd)

No description

Parameters

string $to
string $subject
string $body
string $headers
string $cmd

Return Value

void

Exceptions

SendException