As title suggests, I've created a Welcome New Member email using VF email template.

However the merge field {!$User.FirstName} and {!$User.Username} are displaying the created by user - i.e., our guest user.

Issue is similar to this email template issue but VF email templates don't support Receiving_User or Target_User.

Does anyone know how to resolve this?

1 Answer 1


Be careful of the merge fields you use, depending on the email template.

For VF email templates:

  • {!$User.x} references the user that created the community member.
  • {!Recipient.x} references the recipient of the email. Note there is no $ symbol.

Slightly confusing for other templates that use {!Receiving_User.x}.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .