Help & Documentation>Serverless Cloud Function

Function Testing

Last updated: 2023-10-27 17:12:51
This example primarily demonstrates the interplay between functions and the process of sending emails through these functions. You can adjust the code logic according to the specific needs of your business.

Execute the 'test' function.

1. In the "Cloud Development Console", select Cloud Function, click on the "test" function, and you will be directed to the "test" function information page.
2. Within the "test" function information page, click Test to view the results, as depicted1 below:



View the execution logs of 'sendemail'.

1. In the Cloud Function information page, select the "sendemail" function to navigate to the "sendemail" function information page.
2. Select the "Logs" tab to view the execution logs of this function. Simultaneously, you can also visit your configured email to check the received mail.