Jaxer.SMTP.MailMessage : Object
Return to: Jaxer Framework index

A structure holding email message information.

Platform Support

Jaxer Server FrameworkJaxer Client Framework
1.0no

Constructors

ConstructorActionJaxer Server FrameworkJaxer Client Framework
Jaxer.SMTP.MailMessage Constructor() : Jaxer.SMTP.MailMessage
A structure holding email message information
Show Details1.0no

Jaxer.SMTP.MailMessage() : Jaxer.SMTP.MailMessage

A structure holding email message information

Returns
Jaxer.SMTP.MailMessageReturns an instance of MailMessage.

Functions

MethodActionJaxer Server FrameworkJaxer Client Framework
addHeader,(Array header) : void
Sets extra SMTP headers on the message, the provided header parameter is an two element array consisting of the header name value pair.
Show Details1.0no

Parameters
ArrayheaderThe header to add.

addRecipient(String recipient) : void
Adds a recipient to the message
Show Details1.0no

Parameters
StringrecipientThe email address

setBody(String body) : void
Sets the body (contents) of the message
Show Details1.0no

Parameters
StringbodyThe text of the message

setDate(Object date) : void
Sets the timestamp on the message
Show Details1.0no

Parameters
ObjectdateThe date it's sent

setFrom(String from) : void
Sets the "From" address on the message
Show Details1.0no

Parameters
StringfromThe email address from which this message is coming

setSubject(String subject) : void
Sets the "Subject" of the message
Show Details1.0no

Parameters
StringsubjectThe subject text

aptana_docs