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

NameTypeRequiredDescription
userIdstringYesID of the user to send the welcome email to
createdBystringYes
welcomeMessagestringNo (default="")User supplied welcome message