Menu

## SendMessageMail extends Mailable
in package
implements ShouldQueue uses Queueable, SerializesModels

SendMessageMail.php : 20

SendMessageMail

Mailable class for sending custom mail messages with optional attachments. Supports templated messages with dynamic subject and content placeholders.

### Table of Contents

#### Interfaces

ShouldQueue

#### Properties

$sendMail : SendMail
  The send mail instance

#### Methods

__construct() : void
  Create a new message instance.
build() : $this
  Build the message.

### Properties

#### $sendMail

SendMessageMail.php : 29

The send mail instance

`public SendMail $sendMail`

### Methods

#### __construct()

SendMessageMail.php : 37

Create a new message instance.

`public __construct(SendMail $sendMail) : void`

##### Parameters

$sendMail : SendMail

  The send mail instance

#### build()

SendMessageMail.php : 51

Build the message.

`public build() : $this`

Retrieves the send mail template, replaces placeholders with the message subject, content, user name, and attachments if present.

##### Return values

$this

## Search results