메소드 | 설명 | |
---|---|---|
__construct ( Swift_Events_EventDispatcher $eventDispatcher ) | Create a new MailTransport with the $log. | |
getExtraParams ( ) : string | Get the additional parameters used on the mail() function. | |
isStarted ( ) | Not used. | |
mail ( string $to, string $subject, string $body, string $headers = null, string $extraParams = null ) : boolean | Send mail via the mail() function. | |
registerPlugin ( Swift_Events_EventListener $plugin ) | Register a plugin. | |
send ( Swift_Mime_Message $message, string[] &$failedRecipients = null ) : integer | Send the given Message. | |
setExtraParams ( string $params ) : Swift_Transport_MailTransport | Set the additional parameters used on the mail() function. | |
start ( ) | Not used. | |
stop ( ) | Not used. |
메소드 | 설명 | |
---|---|---|
throwException ( Swift_TransportException $e ) | Throw a TransportException, first sending it to any listeners |
메소드 | 설명 | |
---|---|---|
formatExtraParams ( $extraParams, $reversePath ) : string | null | Return php mail extra params to use for invoker->mail. | |
getReversePath ( Swift_Mime_Message $message ) | Determine the best-use reverse path for this message |
public __construct ( Swift_Events_EventDispatcher $eventDispatcher ) | ||
$eventDispatcher | Swift_Events_EventDispatcher |
public getExtraParams ( ) : string | ||
리턴 | string |
public registerPlugin ( Swift_Events_EventListener $plugin ) | ||
$plugin | Swift_Events_EventListener |
public setExtraParams ( string $params ) : Swift_Transport_MailTransport | ||
$params | string | |
리턴 | Swift_Transport_MailTransport |
protected throwException ( Swift_TransportException $e ) | ||
$e | Swift_TransportException |