PHP Class MailThief\Message

显示文件 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_oe property

public $attachments

$bcc public_oe property

public $bcc

$cc public_oe property

public $cc

$data public_oe property

public $data

$delay public_oe property

public $delay

$from public_oe property

public $from

$headers public_oe property

public $headers

$priority public_oe property

public $priority

$reply_to public_oe property

public $reply_to

$sender public_oe property

public $sender

$subject public_oe property

public $subject

$to public_oe property

public $to

$valid_methods public_oe property

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