View previous topic :: View next topic |
Author |
Message |
barca n00b
Joined: 13 Nov 2007 Posts: 20 Location: Poland
|
Posted: Sun Mar 01, 2009 9:44 pm Post subject: KMail + PGP + HTML -> can do it? |
|
|
Hello,
after many many hours googling and experimenting with KMail I've to ask you about possibility of sending HTML messages with KMail, which are signed with PGP. My problem is that I can:
1) send text/plain message with PGP signature
OR
2) send text/html message but without PGP signature
I'd like to send text/html message with PGP signature. In KMail's configuration window (Editor / Headers) I added "Content-Type: text/html;" but it works only without PGP signature. When I try to send HTML message with PGP signature, it sends it as text/plain. Please look at this fragments of source:
Code: |
From: x
To: x
Subject: Re: Newsletter
Date: x
User-Agent: KMail/1.9.9
References: x
In-Reply-To: x
X-KMail-Link-Message: 1827
X-KMail-Link-Type: reply
X-KMail-Transport: x
MIME-Version: 1.0
Content-Type: multipart/signed;
boundary="nextPart4111328.Dsf2vNhWuz";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: x
Status: RO
X-Status: RST
X-KMail-EncryptionState: N
X-KMail-SignatureState: F
X-KMail-MDN-Sent:
--nextPart4111328.Dsf2vNhWuz
Content-Type: multipart/mixed;
boundary="Boundary-01=_v9/pJ0Qm0VSphdL"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--Boundary-01=_v9/pJ0Qm0VSphdL
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Here goes the message which should be in HTML but it's text/plain.
--Boundary-01=_v9/pJ0Qm0VSphdL--
--nextPart4111328.Dsf2vNhWuz
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
x
-----END PGP SIGNATURE-----
--nextPart4111328.Dsf2vNhWuz--
|
So my questions is simple: how can I enforce Kmail to send header:
Code: | --Boundary-01=_v9/pJ0Qm0VSphdL
Content-Type: text/html;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline |
instead of
Code: | --Boundary-01=_v9/pJ0Qm0VSphdL
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline |
This problem is so important for me that I can even switch to other mail client which allows to send HTML messages with PGP signature.
Thank you for yours ideas |
|
Back to top |
|
|
s1era n00b
Joined: 25 Feb 2009 Posts: 6 Location: Münster
|
Posted: Thu Mar 05, 2009 10:51 pm Post subject: |
|
|
Sending signed html messages works fine for me. But kmail seems to send a html-message only, if there is actually some HTML-Markup in the message. So have you tried sending any _formatted_ HTML-message? |
|
Back to top |
|
|
barca n00b
Joined: 13 Nov 2007 Posts: 20 Location: Poland
|
Posted: Fri Mar 06, 2009 10:05 am Post subject: |
|
|
Unfortunately, there's no difference between sending mail:
and
Quote: | <center>This is a test.</center> |
It's still text/plain |
|
Back to top |
|
|
Modula n00b
Joined: 02 Dec 2004 Posts: 9
|
Posted: Fri Mar 06, 2009 10:58 pm Post subject: |
|
|
I have this problem, too. When I try to send a signed HTML message with KMail, I get the message "inline-signing/ecrypting of HTML messages is not possible".
Any ideas? |
|
Back to top |
|
|
s1era n00b
Joined: 25 Feb 2009 Posts: 6 Location: Münster
|
Posted: Sat Mar 07, 2009 12:01 am Post subject: |
|
|
Modula, kmail gives you this message, if you have selected the deprecated "Inline-OpenPGP"-option as encryption protocol. If you choose "OpenPGP/MIME", kmail should not complain.
(The message, that barca has posted, is already in "OpenPGP/MIME" format, so I really don't know, why it doesn't work for him.) |
|
Back to top |
|
|
|