0

I'm trying to include a cc address for my item list email link.

I used this:

 "href": {
      "operator": "+",
      "operands": [
        "mailto:",
        "[email protected]",
        "?cc=",
        "[email protected]",
        "?subject=",
        "Test Subject",

The result is the following:

cc

For some reason my subject lengthens the cc field. Any idea what goes wrong here?

If I look at the code I don't see anything wrong.

1
  • Are you using SharePoint online or SharePoint 2019? Commented Apr 13, 2023 at 12:33

1 Answer 1

1

Use & instead of ? before subject like:

"href": {
      "operator": "+",
      "operands": [
        "mailto:",
        "[email protected]",
        "?cc=",
        "[email protected]",
        "&subject=",
        "Test Subject",

Example mailto format including CC, BCC, Subject and Body:

mailto:[email protected][email protected]&[email protected]&subject=Email Subject Text&body=Message Content

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.