PHP 인터페이스 Swift_Mime_Message, Halite

저자: Chris Corbyn
상속: extends Swift_Mime_MimeEntity
파일 보기 프로젝트 열기: HaliteChallenge/Halite 0 사용 예제들

공개 메소드들

메소드 설명
generateId ( ) : string Generates a valid Message-ID and switches to it.
getBcc ( ) : string[] Get the Bcc addresses for this message.
getCc ( ) : string[] Get the Cc addresses for this message.
getDate ( ) : integer Get the origination date of the message as a UNIX timestamp.
getFrom ( ) : string[] Get the From address(es) of this message.
getReplyTo ( ) : string[] Get the Reply-To addresses for this message.
getReturnPath ( ) : string Get the return-path (bounce-detect) address.
getSender ( ) : string Get the sender address for this message.
getSubject ( ) : string Get the subject of the message.
getTo ( ) : string[] Get the To addresses for this message.
setBcc ( mixed $addresses, string $name = null ) Set the Bcc address(es).
setCc ( mixed $addresses, string $name = null ) Set the Cc address(es).
setDate ( integer $date ) Set the origination date of the message as a UNIX timestamp.
setFrom ( mixed $addresses, string $name = null ) Set the From address of this message.
setReplyTo ( mixed $addresses, string $name = null ) Set the Reply-To address(es).
setReturnPath ( string $address ) Set the return-path (bounce-detect) address.
setSender ( mixed $address, string $name = null ) Set the sender of this message.
setSubject ( string $subject ) Set the subject of the message.
setTo ( mixed $addresses, string $name = null ) Set the To address(es).

메소드 상세

generateId() 공개 메소드

Generates a valid Message-ID and switches to it.
public generateId ( ) : string
리턴 string

getBcc() 공개 메소드

This method always returns an associative array, whereby the keys provide the actual email addresses.
public getBcc ( ) : string[]
리턴 string[]

getCc() 공개 메소드

This method always returns an associative array, whereby the keys provide the actual email addresses.
public getCc ( ) : string[]
리턴 string[]

getDate() 공개 메소드

Get the origination date of the message as a UNIX timestamp.
public getDate ( ) : integer
리턴 integer

getFrom() 공개 메소드

This method always returns an associative array where the keys are the addresses.
public getFrom ( ) : string[]
리턴 string[]

getReplyTo() 공개 메소드

This method always returns an associative array where the keys provide the email addresses.
public getReplyTo ( ) : string[]
리턴 string[]

getReturnPath() 공개 메소드

Get the return-path (bounce-detect) address.
public getReturnPath ( ) : string
리턴 string

getSender() 공개 메소드

This has a higher significance than the From address.
public getSender ( ) : string
리턴 string

getSubject() 공개 메소드

Get the subject of the message.
public getSubject ( ) : string
리턴 string

getTo() 공개 메소드

This method always returns an associative array, whereby the keys provide the actual email addresses.
public getTo ( ) : string[]
리턴 string[]

setBcc() 공개 메소드

Recipients set in this field will receive a 'blind-carbon-copy' of this message. In other words, they will get the message, but any other recipients of the message will have no such knowledge of their receipt of it. This method has the same synopsis as {@link setFrom()} and {@link setTo()}.
public setBcc ( mixed $addresses, string $name = null )
$addresses mixed
$name string optional

setCc() 공개 메소드

Recipients set in this field will receive a 'carbon-copy' of this message. This method has the same synopsis as {@link setFrom()} and {@link setTo()}.
public setCc ( mixed $addresses, string $name = null )
$addresses mixed
$name string optional

setDate() 공개 메소드

Set the origination date of the message as a UNIX timestamp.
public setDate ( integer $date )
$date integer

setFrom() 공개 메소드

It is permissible for multiple From addresses to be set using an array. If multiple From addresses are used, you SHOULD set the Sender address and according to RFC 2822, MUST set the sender address. An array can be used if display names are to be provided: i.e. array('[email protected]' => 'Real Name'). If the second parameter is provided and the first is a string, then $name is associated with the address.
public setFrom ( mixed $addresses, string $name = null )
$addresses mixed
$name string optional

setReplyTo() 공개 메소드

Any replies from the receiver will be sent to this address. It is permissible for multiple reply-to addresses to be set using an array. This method has the same synopsis as {@link setFrom()} and {@link setTo()}. If the second parameter is provided and the first is a string, then $name is associated with the address.
public setReplyTo ( mixed $addresses, string $name = null )
$addresses mixed
$name string optional

setReturnPath() 공개 메소드

Set the return-path (bounce-detect) address.
public setReturnPath ( string $address )
$address string

setSender() 공개 메소드

If multiple addresses are present in the From field, this SHOULD be set. According to RFC 2822 it is a requirement when there are multiple From addresses, but Swift itself does not require it directly. An associative array (with one element!) can be used to provide a display- name: i.e. array('email@address' => 'Real Name'). If the second parameter is provided and the first is a string, then $name is associated with the address.
public setSender ( mixed $address, string $name = null )
$address mixed
$name string optional

setSubject() 공개 메소드

Set the subject of the message.
public setSubject ( string $subject )
$subject string

setTo() 공개 메소드

Recipients set in this field will receive a copy of this message. This method has the same synopsis as {@link setFrom()} and {@link setCc()}. If the second parameter is provided and the first is a string, then $name is associated with the address.
public setTo ( mixed $addresses, string $name = null )
$addresses mixed
$name string optional