PHP 클래스 Jyxo\Mail\Email

저자: Jaroslav Hanslík
상속: extends Jyxo\Spl\Object
파일 보기 프로젝트 열기: jyxo/php 1 사용 예제들

공개 메소드들

메소드 설명
addAttachment ( Attachment $attachment ) : self Adds an attachment.
addBcc ( Address $bcc ) : self Adds a blind carbon copy recipient.
addCc ( Address $cc ) : self Adds a carbon copy recipient.
addHeader ( Header $header ) : self Adds a custom header.
addReplyTo ( Address $replyTo ) : self Adds a 'ReplyTo' address.
addTo ( Address $to ) : self Adds a recipient.
getAttachments ( ) : array Returns attachments.
getBcc ( ) : array Returns list of blind carbon copy recipients.
getBody ( ) : Body Returns message body.
getCc ( ) : array Returns list of carbon copy recipients.
getConfirmReadingTo ( ) : Address | null Returns a reading confirmation address.
getFrom ( ) : Address | null Returns sender address.
getHeaders ( ) : array Returns custom headers.
getInReplyTo ( ) : string Returns Id of the message this is a response to.
getPriority ( ) : integer Returns message priority.
getReferences ( ) : array Returns references to previous messages in the thread.
getReplyTo ( ) : array Returns the 'ReplyTo' address.
getSubject ( ) : string Returns subject.
getTo ( ) : array Returns list of message recipients.
hasInlineAttachments ( ) : boolean Checks if the message contains any attachments.
setBody ( Body $body ) : self Sets message body.
setConfirmReadingTo ( Address $confirmReadingTo ) : self Sets a reading confirmation address.
setFrom ( Address $from ) : self Sets sender address.
setInReplyTo ( string $inReplyTo, array $references = [] ) : self Sets Id of the message this is a response to.
setPriority ( integer $priority ) : self Sets message priority.
setSubject ( string $subject ) : self Sets subject.

메소드 상세

addAttachment() 공개 메소드

Adds an attachment.
public addAttachment ( Attachment $attachment ) : self
$attachment Jyxo\Mail\Email\Attachment Attachment
리턴 self

addBcc() 공개 메소드

Adds a blind carbon copy recipient.
public addBcc ( Address $bcc ) : self
$bcc Jyxo\Mail\Email\Address New recipient
리턴 self

addCc() 공개 메소드

Adds a carbon copy recipient.
public addCc ( Address $cc ) : self
$cc Jyxo\Mail\Email\Address New recipient
리턴 self

addHeader() 공개 메소드

Adds a custom header.
public addHeader ( Header $header ) : self
$header Jyxo\Mail\Email\Header Header
리턴 self

addReplyTo() 공개 메소드

Adds a 'ReplyTo' address.
public addReplyTo ( Address $replyTo ) : self
$replyTo Jyxo\Mail\Email\Address
리턴 self

addTo() 공개 메소드

Adds a recipient.
public addTo ( Address $to ) : self
$to Jyxo\Mail\Email\Address New recipient
리턴 self

getAttachments() 공개 메소드

Returns attachments.
public getAttachments ( ) : array
리턴 array

getBcc() 공개 메소드

Returns list of blind carbon copy recipients.
public getBcc ( ) : array
리턴 array

getBody() 공개 메소드

Returns message body.
public getBody ( ) : Body
리턴 Jyxo\Mail\Email\Body

getCc() 공개 메소드

Returns list of carbon copy recipients.
public getCc ( ) : array
리턴 array

getConfirmReadingTo() 공개 메소드

Returns a reading confirmation address.
public getConfirmReadingTo ( ) : Address | null
리턴 Jyxo\Mail\Email\Address | null

getFrom() 공개 메소드

Returns sender address.
public getFrom ( ) : Address | null
리턴 Jyxo\Mail\Email\Address | null

getHeaders() 공개 메소드

Returns custom headers.
public getHeaders ( ) : array
리턴 array

getInReplyTo() 공개 메소드

Returns Id of the message this is a response to.
public getInReplyTo ( ) : string
리턴 string

getPriority() 공개 메소드

Returns message priority.
public getPriority ( ) : integer
리턴 integer

getReferences() 공개 메소드

Returns references to previous messages in the thread.
public getReferences ( ) : array
리턴 array

getReplyTo() 공개 메소드

Returns the 'ReplyTo' address.
public getReplyTo ( ) : array
리턴 array

getSubject() 공개 메소드

Returns subject.
public getSubject ( ) : string
리턴 string

getTo() 공개 메소드

Returns list of message recipients.
public getTo ( ) : array
리턴 array

hasInlineAttachments() 공개 메소드

Checks if the message contains any attachments.
public hasInlineAttachments ( ) : boolean
리턴 boolean

setBody() 공개 메소드

Sets message body.
public setBody ( Body $body ) : self
$body Jyxo\Mail\Email\Body Body
리턴 self

setConfirmReadingTo() 공개 메소드

Sets a reading confirmation address.
public setConfirmReadingTo ( Address $confirmReadingTo ) : self
$confirmReadingTo Jyxo\Mail\Email\Address Confirmation recipient
리턴 self

setFrom() 공개 메소드

Sets sender address.
public setFrom ( Address $from ) : self
$from Jyxo\Mail\Email\Address Message sender
리턴 self

setInReplyTo() 공개 메소드

Sets Id of the message this is a response to.
public setInReplyTo ( string $inReplyTo, array $references = [] ) : self
$inReplyTo string Message Id
$references array Previous mail references
리턴 self

setPriority() 공개 메소드

Sets message priority.
public setPriority ( integer $priority ) : self
$priority integer Priority
리턴 self

setSubject() 공개 메소드

Sets subject.
public setSubject ( string $subject ) : self
$subject string Subject
리턴 self