Class Swift_Plugin_MailSend

Description

Swift mail() send plugin Sends the message using mail() when a SendEvent is fired. Using the NativeMail connection provides stub responses to allow this to happen cleanly.

Located in /Swift/Plugin/MailSend.php (line 21)


	
			
Method Summary
Swift_Plugin_MailSend __construct ()
void beforeSendPerformed ( $e)
void doMail ( $to,  $subject,  $message,  $headers,  $params)
string getOS ()
boolean isWindows ()
void sendPerformed ( $e)
void setOS (string $os)
Methods
Constructor __construct (line 42)

Constructor

Swift_Plugin_MailSend __construct ()
beforeSendPerformed (line 75)

Swift's BeforeSendEvent listener.

Invoked just before Swift sends a message

void beforeSendPerformed ( $e)
doMail (line 130)
void doMail ( $to,  $subject,  $message,  $headers,  $params)
  • $to
  • $subject
  • $message
  • $headers
  • $params
getOS (line 58)

Get the operating system string

string getOS ()
isWindows (line 66)

Check if this is windows or not

boolean isWindows ()
sendPerformed (line 88)

Swift's SendEvent listener.

Invoked when Swift sends a message

  • throws: Swift_Connection_Exception If mail() returns false
void sendPerformed ( $e)
setOS (line 50)

Set the operating system string (changes behaviour with LE)

void setOS (string $os)
  • string $os: The operating system

Documentation generated on Tue, 06 Mar 2007 23:32:25 +0000 by phpDocumentor 1.3.1