Rate this page:

sendMailAsync

Copy URL
sendMailAsync(mailServerAddress: 

string

,
from:

string

,
to:

string

|

string[]

,
title:

string

,
body:

string

,
options:

SendMailOptions

):

Promise<SendMailResult>

Send an email via a specified email server

Parameters

  • mailServerAddress:

    string

    SMTP server address

  • from:

    string

    From address of the email

  • to:

    string

    To address or list of addresses

  • title:

    string

    Message title

  • body:

    string

    Message body

  • Optional

    Advanced settings

Returns