PHP Class MailThief\Message

Show file Open project: tightenco/mailthief Class Usage Examples

Public Properties

Property Type Description
$attachments
$bcc
$cc
$data
$delay
$from
$headers
$priority
$reply_to
$sender
$subject
$to
$valid_methods array Methods that are available in Laravel but not provided by MailThief

Public Methods

Method Description
__call ( $name, $arguments )
__construct ( $view, $data )
addTextHeader ( $name, $value = null )
attach ( $pathToFile, array $options = [] )
attachData ( $data, $name, array $options = [] )
bcc ( $address, $name = null )
cc ( $address, $name = null )
contains ( $text, $part = 'html' )
from ( $address, $name = null )
fromRaw ( $body )
fromView ( $view, $data )
getBody ( $part = 'html' )
getSwiftMessage ( )
hasRecipient ( $email )
priority ( $level )
recipients ( )
replyTo ( $address, $name = null )
sender ( $address, $name = null )
subject ( $subject )
to ( $address, $name = null )

Method Details

__call() public method

public __call ( $name, $arguments )

__construct() public method

public __construct ( $view, $data )

addTextHeader() public method

public addTextHeader ( $name, $value = null )

attach() public method

public attach ( $pathToFile, array $options = [] )
$options array

attachData() public method

public attachData ( $data, $name, array $options = [] )
$options array

bcc() public method

public bcc ( $address, $name = null )

cc() public method

public cc ( $address, $name = null )

contains() public method

public contains ( $text, $part = 'html' )

from() public method

public from ( $address, $name = null )

fromRaw() public static method

public static fromRaw ( $body )

fromView() public static method

public static fromView ( $view, $data )

getBody() public method

public getBody ( $part = 'html' )

getSwiftMessage() public method

public getSwiftMessage ( )

hasRecipient() public method

public hasRecipient ( $email )

priority() public method

public priority ( $level )

recipients() public method

public recipients ( )

replyTo() public method

public replyTo ( $address, $name = null )

sender() public method

public sender ( $address, $name = null )

subject() public method

public subject ( $subject )

to() public method

public to ( $address, $name = null )

Property Details

$attachments public property

public $attachments

$bcc public property

public $bcc

$cc public property

public $cc

$data public property

public $data

$delay public property

public $delay

$from public property

public $from

$headers public property

public $headers

$priority public property

public $priority

$reply_to public property

public $reply_to

$sender public property

public $sender

$subject public property

public $subject

$to public property

public $to

$valid_methods public property

Methods that are available in Laravel but not provided by MailThief
public array $valid_methods
return array