For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > July 2004 > string extract from email body









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author string extract from email body
Richard Foley

2004-07-22, 8:55 am

Simple question for those who know ...

I want to extract 2 or 3 lines of text from an incoming email, process
it and insert it into an outgoing email. Anyone got something similar
..... I use linux mail servers.

Thanks in advance.

R



Jupiterhost.Net

2004-07-22, 8:56 pm

Richard Foley wrote:

> Simple question for those who know ...
>
> I want to extract 2 or 3 lines of text from an incoming email, process
> it and insert it into an outgoing email. Anyone got something similar


Check out Mail::Internet very easy to parse email :)

> .... I use linux mail servers.


If you can have the mail piped to the script its really really easy with
Mail::Internet :)

In an upcoming module I have there is ann even easier way but that's a
little while out as I wanted to add attahcemnt support :)

> Thanks in advance.



HTH :)
Lee.M JupiterHost.Net
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com