Skip to content

How to disable link tracking? #2

@raduvarga

Description

@raduvarga

When using emailsPost with an tag, the url gets overriden with an elastic email tracking link, even though I specified TrackClicks as false.
How can I disable this?
Also, how to remove the ReplyTo email?

This is my EmailMessageData:

   Recipients: [
      { 
        Email: emailAddress,
      }
    ],
    Content: {
      Body: [
        {
          ContentType: "HTML",
          Charset: "utf-8",
          Content: "Follow this " + "<a href='" + link + "'>link</a>" + " to sign in.",
        },
        {
          ContentType: "PlainText",
          Charset: "utf-8",
          Content: "Follow this link to sign in: " + link,
        }
      ],
      From: "UA Remote CTRL <[email protected]",
      Subject: "Sign in requested",
      ReplyTo: "",
    },
    Options: {
      TrackClicks: false,
      TrackOpens: false
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions