Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Extract file from mail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Thu Jul 28, 2011 5:28 pm    Post subject: [SOLVED]Extract file from mail Reply with quote

Hi does anyone know of a way to extract an attached file from an email attachment automatically.
I wish to extract a csv file which will be sent as an attachment.
I already have postfix installed on the server that I wish to use the file.

Anyone have any ideas or suggestions?


Last edited by chiefbag on Fri Jul 29, 2011 2:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Thu Jul 28, 2011 6:11 pm    Post subject: Reply with quote

I suggest you Google(perl email extract attachment).
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Thu Jul 28, 2011 10:04 pm    Post subject: Reply with quote

I had this problem quite a while ago, too, and documented the solution here:
http://gimpel.ath.cx/howto_fetch_proc_metamail.html
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Fri Jul 29, 2011 11:54 am    Post subject: Reply with quote

@gimpel

Thanks for the link.

I will give it a shot :wink:
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Fri Jul 29, 2011 2:52 pm    Post subject: Reply with quote

@gimpel

Excellent, thats working the finest :lol:

Thank you :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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