![]()  | 
  
    Qore SmtpClient Module Reference
    1.9.3
    
   | 
 
for backwards-compatibility and convenience More...

Public Member Methods | |
| constructor (string sender, string subject) | |
| creates a Message object from the arguments given  More... | |
for backwards-compatibility and convenience
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
| sender | the sender's email address; can be in the format "Full Display Name <[email protected]>"  | 
| subject | the subject line for the email; the subject will be encoded with "Q" encoding | 
| MESSAGE-CONSTRUCTOR-ERROR | the sender's email address is not valid; the subject is empty |