Skip to Content
FrontendAppsEmailQuerystrings

Query Strings

Query strings can be passed to prefill email fields when sending an email. Here’s a list of available query strings:

/[locale]/send & /[locale]/notification_emailtemplates/[entityId]/[emailKey]/send Query Strings

  • from: The email address of the sender.
    • Example: from=example@domain.com
  • to: The email address of the recipient.
    • Example: to=recipient@domain.com
  • cc: The email addresses in the carbon copy (CC). Separate multiple addresses with commas.
    • Example: cc=cc1@domain.com,cc2@domain.com
  • bcc: The email addresses in the blind carbon copy (BCC). Separate multiple addresses with commas.
    • Example: bcc=bcc1@domain.com,bcc2@domain.com
  • subject: The subject of the email.
    • Example: subject=Meeting%20Reminder
  • body: The content of the email body.
    • Example: body=Hello, this is a reminder for our meeting scheduled for tomorrow.

Example URL with Query Strings

Here is an example of how the query string would look in a URL: https://demo.email.phpr.link/fr?from=admin@phpcreation.com&to=internal@phpc.ca&cc=cc1@domain.com,cc2@domain.com&bcc=bcc1@domain.com,bcc2@domain.com&subject=Meeting%20Reminder&body=Hello,%20this%20is%20a%20reminder%20for%20our%20meeting%20scheduled%20for%20tomorrow  This URL will prefill the email fields as follows:

Note: This works for both sending a new email and sending an email using a notification email template.

Last updated on