메소드 | 설명 | |
---|---|---|
afterEhlo ( Swift_Transport_SmtpAgent $agent ) | Runs immediately after a EHLO has been issued. | |
exposeMixinMethods ( ) : string[] | Returns an array of method names which are exposed to the Esmtp class. | |
getHandledKeyword ( ) : boolean | Get the name of the ESMTP extension this handles. | |
getMailParams ( ) : string[] | Get params which are appended to MAIL FROM:<>. | |
getPriorityOver ( string $esmtpKeyword ) : integer | Returns +1, -1 or 0 according to the rules for usort(). | |
getRcptParams ( ) : string[] | Get params which are appended to RCPT TO:<>. | |
onCommand ( Swift_Transport_SmtpAgent $agent, string $command, int[] $codes = [], string[] &$failedRecipients = null, boolean &$stop = false ) | Runs when a command is due to be sent. | |
resetState ( ) | Tells this handler to clear any buffers and reset its state. | |
setKeywordParams ( array $parameters ) | Set the parameters which the EHLO greeting indicated. |
public afterEhlo ( Swift_Transport_SmtpAgent $agent ) | ||
$agent | Swift_Transport_SmtpAgent | to read/write |
public exposeMixinMethods ( ) : string[] | ||
리턴 | string[] |
public getHandledKeyword ( ) : boolean | ||
리턴 | boolean |
public getMailParams ( ) : string[] | ||
리턴 | string[] |
public getPriorityOver ( string $esmtpKeyword ) : integer | ||
$esmtpKeyword | string | to compare with |
리턴 | integer |
public getRcptParams ( ) : string[] | ||
리턴 | string[] |
public onCommand ( Swift_Transport_SmtpAgent $agent, string $command, int[] $codes = [], string[] &$failedRecipients = null, boolean &$stop = false ) | ||
$agent | Swift_Transport_SmtpAgent | to read/write |
$command | string | to send |
$codes | int[] | expected in response |
$failedRecipients | string[] | to collect failures |
$stop | boolean | to be set true by-reference if the command is now sent |
public resetState ( ) |
public setKeywordParams ( array $parameters ) | ||
$parameters | array |