Previous Page
Properties

Solar_Smtp_Adapter
Methods

Next Page
__construct()

Methods

Public

__construct()
Constructor.
__destruct()
Disconnects from the SMTP server if needed.
apiVersion()
Reports the API version for this class.
auth()
Issues SMTP AUTH (if not already issued) and returns success indicator.
connect()
Connects to the SMTP server and sets the timeout.
data()
Issues SMTP DATA to send the email message itself.
disconnect()
Issues SMTP QUIT and disconnects from the SMTP server.
dump()
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
getCrlf()
Returns the line-ending string.
getLog()
Returns the connection log.
helo()
Issues HELO/EHLO sequence to starts the session.
isConnected()
Are we currently connected to the server?
locale()
Looks up class-specific locale strings based on a key.
mail()
Issues SMTP MAIL FROM to indicate who the message is from.
noop()
Issues SMTP NOOP to keep the connection alive (or check the connection).
quit()
Issues SMTP QUIT to end the current session.
rcpt()
Issues SMTP RCPT TO to indicate who the message is to.
resetLog()
Clears the connection log.
rset()
Issues SMTP RSET to reset the connection and clear transaction flags.
setCrlf()
Sets the line-ending string.
vrfy()
Issues SMTP VRFY to verify a username or email address at the server.

Protected

_ehlo()
Send EHLO or HELO, depending on SMTP host capability.
_exception()
Convenience method for returning exceptions with localized text.
_expect()
Receive lines from the SMTP server and look for an expected response code.
_recv()
Receives a response line from the SMTP server.
_send()
Sends a request line to the SMTP server.

Private

None.