how can i input the full raw email to textpipe filter and extract only the from, subject and body eliminating all the other email headers
thanks
Extracting lines from RAW emails
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: Extracting lines from RAW emails
The body is not like the headers, so you just need to remove header lines not like Subject or From.
First use Filters\Restrict\Matching lines (grep)
with a perl pattern of
Then inside this, use Filters\Remove\Remove lines\Remove non-matching lines
with a perl pattern of
First use Filters\Restrict\Matching lines (grep)
with a perl pattern of
Code: Select all
^[a-z_-]+:
with a perl pattern of
Code: Select all
^(Subject|From):