Mailable

Mailable

class Mailable implements Mailable (View source)

Methods

void send(Mailer $mailer)

Send the message using the given mailer.

mixed queue(Factory $queue)

Queue the message for sending.

mixed later(DateTime|int $delay, Factory $queue)

Deliver the queued message after the given delay.

$this priority(int $level = 3)

Set the priority of this message.

$this from(object|array|string $address, string|null $name = null)

Set the sender of the message.

$this to(object|array|string $address, string|null $name = null)

Set the recipients of the message.

$this cc(object|array|string $address, string|null $name = null)

Set the recipients of the message.

$this bcc(object|array|string $address, string|null $name = null)

Set the recipients of the message.

$this replyTo(object|array|string $address, string|null $name = null)

Set the "reply to" address of the message.

$this subject(string $subject)

Set the subject of the message.

$this view(string $view, array $data = array())

Set the view and view data for the message.

$this text(string $textView, array $data = array())

Set the plain text view for the message.

$this with(string|array $key, mixed $value = null)

Set the view data for the message.

$this attach(string $file, array $options = array())

Attach a file to the message.

$this attachData(string $data, string $name, array $options = array())

Attach in-memory data as an attachment.

$this withSwiftMessage(callable $callback)

Register a callback to be called with the Swift message instance.

$this __call(string $method, array $parameters)

Dynamically bind parameters to the message.

doc_Laravel
2016-11-02 16:24:18
Comments
Leave a Comment

Please login to continue.