{module_emailaddress}

Description

Displays the currently logged in user's email address (must be logged in to secure zone).

Syntax

{module_emailaddress collection="my_custom_collection_name" template=""}

Note: When using named parameters always wrap the individual parameters in double quotes. Also, do note that modules using named parameters do not work for campaigns just yet.

Parameters

Examples

  • {module_emailaddress} - displays the email address in plain text
  • {module_emailaddress collection="collection1" template=""} - in this case nothing will be displayed, however the module's Liquid tags will become available in the collection1 collection
  • the logged in user's email address is also contained in a Liquid global object. {{globals.user}} will output:
    {
      "firstname": "Michael",
      "lastname": "Smith",
      "fullname": "Michael Smith",
      "email": "Michael.Boston@gmail.com",
      "isLoggedIn": true
    }

Syntax

{module_emailaddress}

Examples

  • {module_emailaddress} - displays the email address in plain text