Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

Set the from address with an email client template

Log in to subscribe to topics and get notified when content changes.

Set the from address with an email client template

Use an email client template to set a default value for the From field if it should be different from the system default.

Before you begin

Role required: admin

About this task

For example, you can dynamically set the From field to the email address of the current user.


  1. Navigate to System Policy > Email > Client Templates.
  2. Select an existing template or create one. For example, select the Incident Template record.
  3. Configure the form to add the From field.
  4. Enter a script to add a default value to the From field.

    For example, the following script displays the current user name and the current user email address.

    javascript:gs.getUserDisplayName()+" <"+ gs.getUser().getEmail()+">"