Rate this page:

sendMail

Copy URL
sendMail(mailServerAddress: 

string

,
from:

string

,
to:

string

|

string[]

,
title:

string

,
body:

string

,
callback:

Function

,
options:

SendMailOptions

):

void

Send email via the specified email server

Parameters

  • mailServerAddress:

    string

    SMTP server to send email

  • from:

    string

    From address of email

  • to:

    string

    To address or list of addresses

  • title:

    string

    Message title

  • body:

    string

    Message body

  • callback:

    Function

    Function to be called on completion. The function receives a response object of type SendMailResult as a first argument

  • Optional

    Advanced settings

Returns

  • type:

    void