Search

Send Email

Last Updated: Mar 8, 2023

Articles

Use this function to send an email using the tenant email settings.

Ensure that you provide valid server details in Server Settings to establish the connection with Email server.

Syntax

Send Email (To, Subject, Body)

Parameters

Input Parameter Name Description
To Address of the mail recipient
Subject Subject of the mail
Body Content of the mail

Provide comma-separated email addresses for multi-recipient scenarios.

Returns

Return value Description
Message Returns any of the folllowing messages.
  • Recepient address accepted: When the mail is sent correctly
  • Recepient address rejected: When the mail is not sent
  • Invalid email address: When the given mail ID is incorrect

Sample

Send Email (user1@gmail.com, Test, This is a demo)

  • Sends a mail to the email ID user1@gmail.com with the subject Test and the body This is a demo.
    Returns message as “Recepient address accepted.

To view all the general functions, click here.

Did you find what you were looking for?