Clients - email : SmtpClient

Represents an SMTP Client, which interacts with an SMTP Server.

Remote Methods

send

Sends a message.

send

(Email email)

returns Error?
Isolated Function

Sends a message.

 email:Error? response = smtpClient->send(email);

Parameters

  • email Email
  • An email:Email message, which needs to be sent to the recipient

  • Return Type

    (Error?)
  • An email:Error if failed to send the message to the recipient or else ()