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.

Details

at line 25
SendmailMailer setSigner(Signer $signer)

No description

Parameters

Signer $signer

Return Value

SendmailMailer

at line 35
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 46
void send(Message $mail)

Sends email.

Parameters

Message $mail

Return Value

void

Exceptions

SendException