sendWelcomeEmail()
Overview
public boolean function sendWelcomeEmail(
required string userId
, required string createdBy
, string welcomeMessage = ""
)
Sends a welcome email to the given user with password reset instructions
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| userId | string | Yes | ID of the user to send the welcome email to |
| createdBy | string | Yes | |
| welcomeMessage | string | No (default="") | User supplied welcome message |