10. MailService class
Introduction
Simple tool to send emails. The MailService object has the following methods.
Constructor
MailService |
|
Create an object of type MailServer. |
Methods
setServer |
server: string |
Specifies the name of the mail server. |
setFrom |
from: String |
Specifies the name of the sender. |
Setter |
to: string |
Specifies the name of the recipient. |
send |
text: string |
Send the message indicated. |