Discussion:
[RCD] QP-encoding and decoding within a plugin
Rimas Kudelis
2016-08-17 19:50:01 UTC
Permalink
Hi,

is there an official way to QP-encode and QP-decode a text string from
within a RoundCube plugin?

Thanks!

Rimas
A.L.E.C
2016-08-18 06:13:30 UTC
Permalink
Post by Rimas Kudelis
is there an official way to QP-encode and QP-decode a text string from
within a RoundCube plugin?
Use PHP functions quoted_printable_encode()/quoted_printable_decode().

There's also rcube_mime::decode_header() but only for decoding.
--
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer [http://kolab.org]
Roundcube Webmail Developer [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
Rimas Kudelis
2016-08-18 08:53:33 UTC
Permalink
Hi Alec,
Post by A.L.E.C
Post by Rimas Kudelis
is there an official way to QP-encode and QP-decode a text string from
within a RoundCube plugin?
Use PHP functions quoted_printable_encode()/quoted_printable_decode().
There's also rcube_mime::decode_header() but only for decoding.
Thanks! I somehow missed that this function exists.

Regards,
Rimas

Loading...