# Double quotation mark for mail body

**URL:** https://community.integray.com/t/double-quotation-mark-for-mail-body/191
**Category:** Platform discussions
**Tags:** configuration, js-mapper
**Created:** [October 19, 2023, 6:04pm UTC](https://community.integray.com/t/double-quotation-mark-for-mail-body/191 "2023-10-19T18:04:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Moerani](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Moerani](https://community.integray.com/u/Moerani)
#### Post date: [October 19, 2023, 6:04pm UTC](https://community.integray.com/t/double-quotation-mark-for-mail-body/191/1 "2023-10-19T18:04:57Z")

</div>

Hi,  
how to correctly use double quotation mark in JavaScipt for email body?  
 ![obrazek](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/78a4ac0493a71cd69fcda65e13af66205125f783.png)

```auto
return [
  {
  	"Subject": "Pgghfgh",
    "Importance": "Low",
    "From": [{
      "Name": "dsdfgdfd",
      "Address": "dfdft@fdfs.com"
    }],
    "To": [{
      "Name": "gdgdgfd",
      "Address": ".dfdgdf@dgfdgd.com"
    }],
    "BodyType":	"html",
    "Body": "<img src="pic_trulli.jpg" alt="Italian Trulli">",
    "Attachment": [{
      "Name": inputData[0].Filename,
      "Content": inputData[0].Data
    }]
  }
];

```

---

<div class="post-metadata">

### Author: ![tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@tomas](https://community.integray.com/u/tomas)
#### Post date: [October 20, 2023, 8:30am UTC](https://community.integray.com/t/double-quotation-mark-for-mail-body/191/2 "2023-10-20T08:30:30Z")

</div>

Hi,

you can suppress meaning of " char with using \ in front:

```auto
return [
  {
  	"Subject": "Pgghfgh",
    "Importance": "Low",
    "From": [{
      "Name": "dsdfgdfd",
      "Address": "dfdft@fdfs.com"
    }],
    "To": [{
      "Name": "gdgdgfd",
      "Address": ".dfdgdf@dgfdgd.com"
    }],
    "BodyType":	"html",
    "Body": "<img src=\"pic_trulli.jpg\" alt=\"Italian Trulli\">",
    "Attachment": [{
      "Name": inputData[0].Filename,
      "Content": inputData[0].Data
    }]
  }
];

```

Tomas

---

<div class="post-metadata">

### Author: ![Moerani](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Moerani](https://community.integray.com/u/Moerani)
#### Post date: [October 20, 2023, 12:23pm UTC](https://community.integray.com/t/double-quotation-mark-for-mail-body/191/3 "2023-10-20T12:23:57Z")

</div>

Hi, I try `\"`, but it didn’t work in the final html representation, html was broken.  
Then i tried `'` and it worked great  
`<a href='https://integray.com/'>via integray</a>`

Here is my result, that I am proud of, it was fun 😄  
I use JS mapper and Seznam SMTP Sender Connector.

 ![obrazek](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/0a5eb8513649afa31da5fae26336e176b783943e.png)

---

<div class="post-metadata">

### Author: ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.integray.com/u/system)
#### Post date: [October 27, 2023, 12:24pm UTC](https://community.integray.com/t/double-quotation-mark-for-mail-body/191/4 "2023-10-27T12:24:42Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
