# HTML code in the body

**URL:** <https://community.ciphermail.com/t/html-code-in-the-body/543>\
**Category:** Gateway\
**Created:** [May 3, 2017, 8:08am UTC](https://community.ciphermail.com/t/html-code-in-the-body/543 "2017-05-03T08:08:39Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabi\_Munteanu](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@Gabi\_Munteanu](https://community.ciphermail.com/u/Gabi_Munteanu)\
**Post date:** [May 3, 2017, 8:08am UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/1 "2017-05-03T08:08:39Z")

</div>

Hello,  
Once an email(rich text or html) is being decripted the html code is also added to the body of the message along with the message itself.  
Any idea if that can be avoided somehow without switching to plain text format?  
Thanks !

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [May 6, 2017, 6:02pm UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/2 "2017-05-06T18:02:43Z")

</div>

Are you using PGP encryption? Which application was used to send the email?

Kind regards,

Martijn Brinkers

> **···**
>
> On 05/03/2017 10:08 AM, Gabi Munteanu via Users wrote:
> 
> > Hello, Once an email(rich text or html) is being decripted the html  
> > code is also added to the body of the message along with the message  
> > itself. Any idea if that can be avoided somehow without switching to  
> > plain text format? Thanks !
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)

---

<div class="post-metadata">

**Author:** ![Gabi\_Munteanu](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@Gabi\_Munteanu](https://community.ciphermail.com/u/Gabi_Munteanu)\
**Post date:** [May 6, 2017, 6:09pm UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/3 "2017-05-06T18:09:51Z")

</div>

Yes, I am using PGP encryption.The email client is Outlook.  
Best regards,Gabi

> **···**
>
> On Sat, 6 May 2017 at 20:02, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/03/2017 10:08 AM, Gabi Munteanu via Users wrote:
> 
> > Hello, Once an email(rich text or html) is being decripted the html  
> > code is also added to the body of the message along with the message  
> > itself. Any idea if that can be avoided somehow without switching to  
> > plain text format? Thanks !
> 
> Are you using PGP encryption? Which application was used to send the email?
> 
> Kind regards,
> 
> Martijn Brinkers
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Users mailing list  
> Users(a)lists.djigzo.com  
> [https://lists.djigzo.com/lists/listinfo/users](https://lists.djigzo.com/lists/listinfo/users)

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [May 6, 2017, 6:15pm UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/4 "2017-05-06T18:15:36Z")

</div>

> Yes, I am using PGP encryption.The email client is Outlook.  
> Best regards,Gabi

But Outlook does not support PGP directly so you must be using some  
plugin. Which plugin?

PGP desktop (from Symantec) ?

Kind regards,

Martijn Brinkers

> **···**
>
> On 05/06/2017 08:09 PM, Gabi Munteanu via Users wrote:
> 
> > &nbsp;&nbsp;On Sat, 6 May 2017 at 20:02, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/03/2017 10:08 AM, Gabi Munteanu via Users wrote:
> > 
> > > Hello, Once an email(rich text or html) is being decripted the html  
> > > code is also added to the body of the message along with the message  
> > > itself. Any idea if that can be avoided somehow without switching to  
> > > plain text format? Thanks !
> > 
> > Are you using PGP encryption? Which application was used to send the email?
> > 
> > Kind regards,
> > 
> > Martijn Brinkers
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)

---

<div class="post-metadata">

**Author:** ![Gabi\_Munteanu](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@Gabi\_Munteanu](https://community.ciphermail.com/u/Gabi_Munteanu)\
**Post date:** [May 6, 2017, 6:22pm UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/5 "2017-05-06T18:22:09Z")

</div>

Sorry for not mentioning this from the beginning, the email is sent from an Outlook client, encrypted using the ciphermail gateway, then the recipient is also using ciphermail as a gateway for decripting the email and then reads it in Outlook.  
Best regards,Gabi

> Yes, I am using PGP encryption.The email client is Outlook.  
> Best regards,Gabi

But Outlook does not support PGP directly so you must be using some  
plugin. Which plugin?

PGP desktop (from Symantec) ?

Kind regards,

Martijn Brinkers

> **···**
>
> On Sat, 6 May 2017 at 20:15, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:09 PM, Gabi Munteanu via Users wrote:
> 
> > On Sat, 6 May 2017 at 20:02, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/03/2017 10:08 AM, Gabi Munteanu via Users wrote:
> > 
> > > Hello, Once an email(rich text or html) is being decripted the html  
> > > code is also added to the body of the message along with the message  
> > > itself. Any idea if that can be avoided somehow without switching to  
> > > plain text format? Thanks !
> > 
> > Are you using PGP encryption? Which application was used to send the email?
> > 
> > Kind regards,
> > 
> > Martijn Brinkers
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Users mailing list  
> Users(a)lists.djigzo.com  
> [https://lists.djigzo.com/lists/listinfo/users](https://lists.djigzo.com/lists/listinfo/users)

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [May 6, 2017, 6:32pm UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/6 "2017-05-06T18:32:28Z")

</div>

> Sorry for not mentioning this from the beginning, the email is sent  
> from an Outlook client, encrypted using the ciphermail gateway, then  
> the recipient is also using ciphermail as a gateway for decripting  
> the email and then reads it in Outlook. Best regards,Gabi

And is the message PGP/MIME or PGP/INLINE encoded?

Martijn

> **···**
>
> On 05/06/2017 08:22 PM, Gabi Munteanu via Users wrote:
> 
> > On Sat, 6 May 2017 at 20:15, Martijn Brinkers via  
> > Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:09 PM, Gabi  
> > Munteanu via Users wrote:
> > 
> > > Yes, I am using PGP encryption.The email client is Outlook. Best  
> > > regards,Gabi
> > 
> > But Outlook does not support PGP directly so you must be using some  
> > plugin. Which plugin?
> > 
> > PGP desktop (from Symantec) ?
> > 
> > Kind regards,
> > 
> > Martijn Brinkers
> > 
> > > On Sat, 6 May 2017 at 20:02, Martijn Brinkers via  
> > > Users\<users(a)lists.djigzo.com\> wrote: On 05/03/2017 10:08 AM, Gabi  
> > > Munteanu via Users wrote:
> > > 
> > > > Hello, Once an email(rich text or html) is being decripted the  
> > > > html code is also added to the body of the message along with the  
> > > > message itself. Any idea if that can be avoided somehow without  
> > > > switching to plain text format? Thanks !
> > > 
> > > Are you using PGP encryption? Which application was used to send  
> > > the email?
> > > 
> > > Kind regards,
> > > 
> > > Martijn Brinkers
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)

---

<div class="post-metadata">

**Author:** ![Gabi\_Munteanu](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@Gabi\_Munteanu](https://community.ciphermail.com/u/Gabi_Munteanu)\
**Post date:** [May 6, 2017, 6:34pm UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/7 "2017-05-06T18:34:03Z")

</div>

PGP/INLINE.  
Gabi

> Sorry for not mentioning this from the beginning, the email is sent  
> from an Outlook client, encrypted using the ciphermail gateway, then  
> the recipient is also using ciphermail as a gateway for decripting  
> the email and then reads it in Outlook. Best regards,Gabi

And is the message PGP/MIME or PGP/INLINE encoded?

Martijn

> **···**
>
> On Sat, 6 May 2017 at 20:32, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:22 PM, Gabi Munteanu via Users wrote:
> 
> > On Sat, 6 May 2017 at 20:15, Martijn Brinkers via  
> > Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:09 PM, Gabi  
> > Munteanu via Users wrote:
> > 
> > > Yes, I am using PGP encryption.The email client is Outlook. Best  
> > > regards,Gabi
> > 
> > But Outlook does not support PGP directly so you must be using some  
> > plugin. Which plugin?
> > 
> > PGP desktop (from Symantec) ?
> > 
> > Kind regards,
> > 
> > Martijn Brinkers
> > 
> > > On Sat, 6 May 2017 at 20:02, Martijn Brinkers via  
> > > Users\<users(a)lists.djigzo.com\> wrote: On 05/03/2017 10:08 AM, Gabi  
> > > Munteanu via Users wrote:
> > > 
> > > > Hello, Once an email(rich text or html) is being decripted the  
> > > > html code is also added to the body of the message along with the  
> > > > message itself. Any idea if that can be avoided somehow without  
> > > > switching to plain text format? Thanks !
> > > 
> > > Are you using PGP encryption? Which application was used to send  
> > > the email?
> > > 
> > > Kind regards,
> > > 
> > > Martijn Brinkers
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Users mailing list  
> Users(a)lists.djigzo.com  
> [https://lists.djigzo.com/lists/listinfo/users](https://lists.djigzo.com/lists/listinfo/users)

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [May 6, 2017, 6:42pm UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/8 "2017-05-06T18:42:50Z")

</div>

> PGP/INLINE.  
> Gabi

Is there a reason you do not use PGP/MIME? PGP/MIME encrypts the  
complete MIME structure and has the best support for HTML. For  
PGP/INLINE there is no official support for HTML. If the receiving party  
has a PGP client (like a CipherMail gateway) which can support PGP/MIME,  
it's highly recommended to use PGP/MIME.

If some recipients do not support PGP/MIME you can select PGP/INLINE for  
those recipients (or domains). If you insist on setting the global PGP  
encoding to PGP/INLINE, you can also override it for some domains (to  
PGP/MIME).

Note: I'm talking about the setting "PGP encoding to external". This is  
for outgoing email to external recipients

Kind regards,

Martijn Brinkers

> **···**
>
> On 05/06/2017 08:34 PM, Gabi Munteanu via Users wrote:
> 
> > &nbsp;&nbsp;On Sat, 6 May 2017 at 20:32, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:22 PM, Gabi Munteanu via Users wrote:
> > 
> > > Sorry for not mentioning this from the beginning, the email is sent  
> > > from an Outlook client, encrypted using the ciphermail gateway, then  
> > > the recipient is also using ciphermail as a gateway for decripting  
> > > the email and then reads it in Outlook. Best regards,Gabi
> > 
> > And is the message PGP/MIME or PGP/INLINE encoded?
> > 
> > Martijn
> > 
> > > On Sat, 6 May 2017 at 20:15, Martijn Brinkers via  
> > > Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:09 PM, Gabi  
> > > Munteanu via Users wrote:
> > > 
> > > > Yes, I am using PGP encryption.The email client is Outlook. Best  
> > > > regards,Gabi
> > > 
> > > But Outlook does not support PGP directly so you must be using some  
> > > plugin. Which plugin?
> > > 
> > > PGP desktop (from Symantec) ?
> > > 
> > > Kind regards,
> > > 
> > > Martijn Brinkers
> > > 
> > > > On Sat, 6 May 2017 at 20:02, Martijn Brinkers via  
> > > > Users\<users(a)lists.djigzo.com\> wrote: On 05/03/2017 10:08 AM, Gabi  
> > > > Munteanu via Users wrote:
> > > > 
> > > > > Hello, Once an email(rich text or html) is being decripted the  
> > > > > html code is also added to the body of the message along with the  
> > > > > message itself. Any idea if that can be avoided somehow without  
> > > > > switching to plain text format? Thanks !
> > > > 
> > > > Are you using PGP encryption? Which application was used to send  
> > > > the email?
> > > > 
> > > > Kind regards,
> > > > 
> > > > Martijn Brinkers
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)

---

<div class="post-metadata">

**Author:** ![Gabi\_Munteanu](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@Gabi\_Munteanu](https://community.ciphermail.com/u/Gabi_Munteanu)\
**Post date:** [May 6, 2017, 6:52pm UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/9 "2017-05-06T18:52:12Z")

</div>

Got it, will try with PGP/MIME.Thanks!  
Gabi

> PGP/INLINE.  
> Gabi

Is there a reason you do not use PGP/MIME? PGP/MIME encrypts the  
complete MIME structure and has the best support for HTML. For  
PGP/INLINE there is no official support for HTML. If the receiving party  
has a PGP client (like a CipherMail gateway) which can support PGP/MIME,  
it's highly recommended to use PGP/MIME.

If some recipients do not support PGP/MIME you can select PGP/INLINE for  
those recipients (or domains). If you insist on setting the global PGP  
encoding to PGP/INLINE, you can also override it for some domains (to  
PGP/MIME).

Note: I'm talking about the setting "PGP encoding to external". This is  
for outgoing email to external recipients

Kind regards,

Martijn Brinkers

> **···**
>
> On Sat, 6 May 2017 at 20:42, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:34 PM, Gabi Munteanu via Users wrote:
> 
> > On Sat, 6 May 2017 at 20:32, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:22 PM, Gabi Munteanu via Users wrote:
> > 
> > > Sorry for not mentioning this from the beginning, the email is sent  
> > > from an Outlook client, encrypted using the ciphermail gateway, then  
> > > the recipient is also using ciphermail as a gateway for decripting  
> > > the email and then reads it in Outlook. Best regards,Gabi
> > 
> > And is the message PGP/MIME or PGP/INLINE encoded?
> > 
> > Martijn
> > 
> > > On Sat, 6 May 2017 at 20:15, Martijn Brinkers via  
> > > Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:09 PM, Gabi  
> > > Munteanu via Users wrote:
> > > 
> > > > Yes, I am using PGP encryption.The email client is Outlook. Best  
> > > > regards,Gabi
> > > 
> > > But Outlook does not support PGP directly so you must be using some  
> > > plugin. Which plugin?
> > > 
> > > PGP desktop (from Symantec) ?
> > > 
> > > Kind regards,
> > > 
> > > Martijn Brinkers
> > > 
> > > > On Sat, 6 May 2017 at 20:02, Martijn Brinkers via  
> > > > Users\<users(a)lists.djigzo.com\> wrote: On 05/03/2017 10:08 AM, Gabi  
> > > > Munteanu via Users wrote:
> > > > 
> > > > > Hello, Once an email(rich text or html) is being decripted the  
> > > > > html code is also added to the body of the message along with the  
> > > > > message itself. Any idea if that can be avoided somehow without  
> > > > > switching to plain text format? Thanks !
> > > > 
> > > > Are you using PGP encryption? Which application was used to send  
> > > > the email?
> > > > 
> > > > Kind regards,
> > > > 
> > > > Martijn Brinkers
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Users mailing list  
> Users(a)lists.djigzo.com  
> [https://lists.djigzo.com/lists/listinfo/users](https://lists.djigzo.com/lists/listinfo/users)

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [May 6, 2017, 6:52pm UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/10 "2017-05-06T18:52:45Z")

</div>

> PGP/INLINE.  
> Gabi

The problem with PGP/INLINE is that there is no standard support for  
HTML mail. Engimail creates different PGP/INLINE encoded HTML mails than  
PGP desktop (from Symantec). PGP desktop uses it's own non standard  
approach (called PGP partitioned). If CipherMail needs to PGP encrypt or  
PGP sign a message it will generate a message which can be handled by  
PGP desktop and Enigmail. Unfortunately this creates a message where  
there is an HTML part and a text part.

As discussed, if possible use PGP/MIME encoding. PGP/MIME leaves the  
complete MIME structure intact. This is supported by most PGP clients.  
Only use PGP/INLINE if a mail client does not support PGP/MIME.

Kind regards,

Martijn Brinkers

> **···**
>
> On 05/06/2017 08:34 PM, Gabi Munteanu via Users wrote:
> 
> > &nbsp;&nbsp;On Sat, 6 May 2017 at 20:32, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:22 PM, Gabi Munteanu via Users wrote:
> > 
> > > Sorry for not mentioning this from the beginning, the email is sent  
> > > from an Outlook client, encrypted using the ciphermail gateway, then  
> > > the recipient is also using ciphermail as a gateway for decripting  
> > > the email and then reads it in Outlook. Best regards,Gabi
> > 
> > And is the message PGP/MIME or PGP/INLINE encoded?
> > 
> > Martijn
> > 
> > > On Sat, 6 May 2017 at 20:15, Martijn Brinkers via  
> > > Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:09 PM, Gabi  
> > > Munteanu via Users wrote:
> > > 
> > > > Yes, I am using PGP encryption.The email client is Outlook. Best  
> > > > regards,Gabi
> > > 
> > > But Outlook does not support PGP directly so you must be using some  
> > > plugin. Which plugin?
> > > 
> > > PGP desktop (from Symantec) ?
> > > 
> > > Kind regards,
> > > 
> > > Martijn Brinkers
> > > 
> > > > On Sat, 6 May 2017 at 20:02, Martijn Brinkers via  
> > > > Users\<users(a)lists.djigzo.com\> wrote: On 05/03/2017 10:08 AM, Gabi  
> > > > Munteanu via Users wrote:
> > > > 
> > > > > Hello, Once an email(rich text or html) is being decripted the  
> > > > > html code is also added to the body of the message along with the  
> > > > > message itself. Any idea if that can be avoided somehow without  
> > > > > switching to plain text format? Thanks !
> > > > 
> > > > Are you using PGP encryption? Which application was used to send  
> > > > the email?
> > > > 
> > > > Kind regards,
> > > > 
> > > > Martijn Brinkers
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)

---

<div class="post-metadata">

**Author:** ![Gabi\_Munteanu](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@Gabi\_Munteanu](https://community.ciphermail.com/u/Gabi_Munteanu)\
**Post date:** [May 6, 2017, 6:56pm UTC](https://community.ciphermail.com/t/html-code-in-the-body/543/11 "2017-05-06T18:56:51Z")

</div>

Many thanks for the clarification Martijn !  
Have a great weekend!Gabi

> PGP/INLINE.  
> Gabi

The problem with PGP/INLINE is that there is no standard support for  
HTML mail. Engimail creates different PGP/INLINE encoded HTML mails than  
PGP desktop (from Symantec). PGP desktop uses it's own non standard  
approach (called PGP partitioned). If CipherMail needs to PGP encrypt or  
PGP sign a message it will generate a message which can be handled by  
PGP desktop and Enigmail. Unfortunately this creates a message where  
there is an HTML part and a text part.

As discussed, if possible use PGP/MIME encoding. PGP/MIME leaves the  
complete MIME structure intact. This is supported by most PGP clients.  
Only use PGP/INLINE if a mail client does not support PGP/MIME.

Kind regards,

Martijn Brinkers

> **···**
>
> On Sat, 6 May 2017 at 20:52, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:34 PM, Gabi Munteanu via Users wrote:
> 
> > On Sat, 6 May 2017 at 20:32, Martijn Brinkers via Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:22 PM, Gabi Munteanu via Users wrote:
> > 
> > > Sorry for not mentioning this from the beginning, the email is sent  
> > > from an Outlook client, encrypted using the ciphermail gateway, then  
> > > the recipient is also using ciphermail as a gateway for decripting  
> > > the email and then reads it in Outlook. Best regards,Gabi
> > 
> > And is the message PGP/MIME or PGP/INLINE encoded?
> > 
> > Martijn
> > 
> > > On Sat, 6 May 2017 at 20:15, Martijn Brinkers via  
> > > Users\<users(a)lists.djigzo.com\> wrote: On 05/06/2017 08:09 PM, Gabi  
> > > Munteanu via Users wrote:
> > > 
> > > > Yes, I am using PGP encryption.The email client is Outlook. Best  
> > > > regards,Gabi
> > > 
> > > But Outlook does not support PGP directly so you must be using some  
> > > plugin. Which plugin?
> > > 
> > > PGP desktop (from Symantec) ?
> > > 
> > > Kind regards,
> > > 
> > > Martijn Brinkers
> > > 
> > > > On Sat, 6 May 2017 at 20:02, Martijn Brinkers via  
> > > > Users\<users(a)lists.djigzo.com\> wrote: On 05/03/2017 10:08 AM, Gabi  
> > > > Munteanu via Users wrote:
> > > > 
> > > > > Hello, Once an email(rich text or html) is being decripted the  
> > > > > html code is also added to the body of the message along with the  
> > > > > message itself. Any idea if that can be avoided somehow without  
> > > > > switching to plain text format? Thanks !
> > > > 
> > > > Are you using PGP encryption? Which application was used to send  
> > > > the email?
> > > > 
> > > > Kind regards,
> > > > 
> > > > Martijn Brinkers
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Users mailing list  
> Users(a)lists.djigzo.com  
> [https://lists.djigzo.com/lists/listinfo/users](https://lists.djigzo.com/lists/listinfo/users)
