Jasper

Email

  • Email

Extends

Nothing.

Subclasses

None.

Constructor summary

Method summary

Description

A class relating to emails. A single constructor allows emails to be created, a single method allows them to be sent via the SMTP protocol. Both plain text and multipart emails are supported. Third party libraries and such like may well have to be installed for this class to function properly. See the platform specific sections for further details, links to which are given in the related links section at the bottom of this page.

Constructor detail

email ( string to, string from, string from_name, string subject, string plain_body, string html_body )

Constructs an abstract representation of an email. If the 'html_body' parameter is empty, a plain text email is assumed, otherwise a multipart email is assumed.

Method detail

boolean send ( string host )

Sends the email via the SMTP protocol. The 'host' parameter is the URL of the SMTP server.

Related links

Last updated: Thursday, 16th December 2010, 05:10 PM

User comments:

There are none.

Leave a comment:

Display name Email address Content
Enable HTML content
PreviewSubmit