Qore MailMessage Module Reference  1.1
 All Classes Namespaces Files Functions Variables Modules Pages
MailMessage Module

The MailMessage module provides the MailMessage class for representing represents an email message. This module is used by the SmtpClient and Pop3Client modules.

To use this module, use "%requires MailMessage" in your code. See the SmtpClient and Pop3Client modules for examples of Qore code using this module

All the public symbols in the module are defined in the MailMessage namespace

The main classes are:

Example:
#!/usr/bin/env qore
%requires MailMessage
my MailMessage::Message $msg("Me, Myself, and I <me@email.com>", "My Subject");
$msg.setBody("hello world!");
$msg.addTO("My Best Friend <you@friend.com>");