Swift is the central component in the Swift library.
Located in /Swift.php (line 29)
Constructor
Throws an exception if the response code wanted does not match the one returned
Add a new plugin to Swift
Plugins must implement one or more event listeners
Send a message to a batch of recipients.
Unlike send() this method ignores Cc and Bcc recipients and does not reveal every recipients' address in the headers
Execute a command against the service and get the response
Attempt to establish a connection with the service
Disconnect from the MTA
Get the current options set (as bits)
Get an attached plugin if it exists
Have a polite greeting with the server and work out what it's capable of
Check if an option flag has been set
Populate the listeners array with the defined listeners ready for plugins
Send a new type of event to all objects which are listening for it
Remove a plugin attached under the ID of $id
Reset a conversation which has gone badly
Send a message to any number of recipients
Set the extensions which the service reports in the connection object
Set the FQDN of this server as it will identify itself
Set the logger to use
Adjust the options flags
E.g. $obj->setOptions(Swift::NO_START | Swift::NO_HANDSHAKE)
ENABLE_LOGGING
= 8
(line 42)
Constant to ask Swift to start logging
NO_HANDSHAKE
= 4
(line 38)
Constant to tell Swift not to perform the standard SMTP handshake upon connect
NO_POST_CONNECT
= 16
(line 46)
Constant to prevent postConnect() being run in the connection
NO_START
= 2
(line 34)
Constant to flag Swift not to try and connect upon instantiation
Documentation generated on Tue, 06 Mar 2007 23:32:28 +0000 by phpDocumentor 1.3.1