Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 SP 6 » Task syntax

SendTestEmail task

Sends a test email to one or more email addresses.

Syntax 1 (SQL)
CALL DBCloud.SendTestEmail ( to_address=to_address [, optional-parameters ] )
Syntax 2 (Cloud Command utility)
dbcloudcmd run SendTestEmail to_address [ optional-parameters ]
  • to_address

    The recipient email addresses, separated by semicolons. (Required)

  • timeout_in_sec

    The timeout in seconds. The default is 60.

  • host

    The host where the email will be sent from. Accepts a search query that identifies one host, for example a host name or ID. The default is DBCloud.F_CurrentPrimaryHost().

Required privileges



This task sends a test email for testing the configuration settings of the SMTP server.

Your cloud must have email enabled and configured for this task to succeed. You can enable or change the email server by using the AlterCloud task.


The following task sends a test email to two email addresses:

dbcloudcmd run SendTestEmail to_address=";"