PHP 인터페이스 Swift_Spool, Halite

저자: Fabien Potencier
파일 보기 프로젝트 열기: HaliteChallenge/Halite

공개 메소드들

메소드 설명
flushQueue ( Swift_Transport $transport, string[] &$failedRecipients = null ) : integer Sends messages using the given transport instance.
isStarted ( ) : boolean Tests if this Spool mechanism has started.
queueMessage ( Swift_Mime_Message $message ) : boolean Queues a message.
start ( ) Starts this Spool mechanism.
stop ( ) Stops this Spool mechanism.

메소드 상세

flushQueue() 공개 메소드

Sends messages using the given transport instance.
public flushQueue ( Swift_Transport $transport, string[] &$failedRecipients = null ) : integer
$transport Swift_Transport A transport instance
$failedRecipients string[] An array of failures by-reference
리턴 integer The number of sent emails

isStarted() 공개 메소드

Tests if this Spool mechanism has started.
public isStarted ( ) : boolean
리턴 boolean

queueMessage() 공개 메소드

Queues a message.
public queueMessage ( Swift_Mime_Message $message ) : boolean
$message Swift_Mime_Message The message to store
리턴 boolean Whether the operation has succeeded

start() 공개 메소드

Starts this Spool mechanism.
public start ( )

stop() 공개 메소드

Stops this Spool mechanism.
public stop ( )