Core\Mail\Attachment
A file that is sent with a message, or an image that is shown inside its HTML. Pass it in the attachments option of Core\Mail::send.
Members
9 members.
| Member | Signature |
|---|---|
fromFile | fromFile(string $path, { name?: string, type?: string }): Core\Mail\Attachment |
fromBytes | fromBytes(string $name, string|bytes $data, { type?: string }): Core\Mail\Attachment |
inlineFile | inlineFile(string $path, { type?: string }): Core\Mail\Attachment |
inlineBytes | inlineBytes(string $name, string|bytes $data, { type?: string }): Core\Mail\Attachment |
src | src(): string |
name | name(): ?string |
type | type(): string |
bytes | bytes(): bytes |
isInline | isInline(): bool |
