Class Support_Mail_SMTPEngine

Description

Simple SMTP-based mail engine

Located in /support/lib/Support/Mail/SMTPEngine.php (line 9)


	
			
Variable Summary
 mixed $nl
 mixed $sock
Method Summary
 Support_Mail_SMTPEngine __construct ()
 void connect ()
 void data ( $data)
 void disconnect ()
 void getLine ()
 void getResponse ( $expected)
 void mailFrom ( $addr)
 void negotiate ()
 void rcptTo ( $addr)
 void sanitizeData ( $data)
 void send (MailMsg $msg)
 void sendLine (string $line)
Variables
mixed $capabilities (line 11)
  • access: protected
mixed $nl (line 12)
  • access: protected
mixed $sock (line 10)
  • access: protected
Methods
Constructor __construct (line 17)

Constructor

  • access: public
Support_Mail_SMTPEngine __construct ()
connect (line 60)

Connect to the mail server

  • access: protected
void connect ()
data (line 109)

Send message data

  • access: protected
void data ( $data)
  • $data
disconnect (line 137)

Close the connection

  • access: protected
void disconnect ()
getLine (line 189)

Read and return a line from the socket

  • access: protected
void getLine ()
getResponse (line 161)

Get a reponse from the server

  • access: protected
void getResponse ( $expected)
  • $expected
mailFrom (line 93)

Mail from command

  • access: protected
void mailFrom ( $addr)
  • $addr
negotiate (line 74)

Negotiate the transaction

  • access: protected
void negotiate ()
rcptTo (line 101)

Recipient command

  • access: protected
void rcptTo ( $addr)
  • $addr
sanitizeData (line 124)

Sanitize data for sending

  • access: protected
void sanitizeData ( $data)
  • $data
send (line 26)

Send an email message

  • access: public
void send (MailMsg $msg)
  • MailMsg $msg: The mail message to send
sendLine (line 151)

Send a line to the remove server

  • access: protected
void sendLine (string $line)
  • string $line: Line, not including line terminator

Documentation generated on Wed, 25 Apr 2012 09:46:45 -0700 by phpDocumentor 1.4.3