Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]decode mail message with encoding: quoted-printable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
noclear2000
Apprentice
Apprentice


Joined: 21 Jun 2006
Posts: 153
Location: Germany

PostPosted: Mon Sep 03, 2012 11:46 am    Post subject: [solved]decode mail message with encoding: quoted-printable Reply with quote

Hi,


I process lots of mail received automatically by extracting the attachments using a script and process them further (PDF files). For MIME messages with
Code:
Content-Transfer-Encoding: base64

this is easily accomplished with
Code:
munpack
.

But I cannot find information on how to decode the attachment via bash script if encoding is:
Code:
Content-Transfer-Encoding: quoted-printable


Has anyone experience in this or knows a solution? Any input is appreciated as google didn't help much. Maybe I used the wrong search terms?

Thanks and Cheers!


EDIT1: Looks like mimencode (mmencode) is leading to the right track. :) (package net-mail/metamail)


Last edited by noclear2000 on Thu Sep 06, 2012 7:11 am; edited 1 time in total
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1611
Location: U.S.A.

PostPosted: Tue Sep 04, 2012 10:46 pm    Post subject: Reply with quote

net-mail/qprint
_________________
patrix_neo wrote:
The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it.
Back to top
View user's profile Send private message
noclear2000
Apprentice
Apprentice


Joined: 21 Jun 2006
Posts: 153
Location: Germany

PostPosted: Thu Sep 06, 2012 7:09 am    Post subject: Reply with quote

Thanks BoneKracker! :)
So net-mail/qprint or net-mail/metamail (=>mimencode) is the answer to my question. I tried both for "quoted-printable" decoding with success.
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1611
Location: U.S.A.

PostPosted: Thu Sep 06, 2012 1:18 pm    Post subject: Reply with quote

You're welcome.
_________________
patrix_neo wrote:
The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum