Qore SmtpClient Module Reference 2.0
Loading...
Searching...
No Matches
SmtpClient::Message Class Reference

for backwards-compatibility and convenience More...

#include <SmtpClient.qm.dox.h>

Inheritance diagram for SmtpClient::Message:
[legend]

Public Member Methods

 constructor (string sender, string subject)
 creates a Message object from the arguments given More...
 

Detailed Description

for backwards-compatibility and convenience

Member Function Documentation

◆ constructor()

SmtpClient::Message::constructor ( string  sender,
string  subject 
)

creates a Message object from the arguments given

This variant of the constructor is designed to be used to create a Message object for sending with the SmtpClient class.

Use the Message::addTo() method to add message recipients

Parameters
senderthe sender's email address; can be in the format "Full Display Name <[email protected]>"
subjectthe subject line for the email; the subject will be encoded with "Q" encoding
Exceptions
MESSAGE-CONSTRUCTOR-ERRORthe sender's email address is not valid; the subject is empty