Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Editing the body of an email - then forwarding the result

Status
Not open for further replies.

BIS

Technical User
Jun 1, 2001
1,893
NL
Hallo,

Does anybody know how I would go about this task. Suppose a mail was sent to user@mydomain.com with this is the body:

Hallo User,

Result1: xxx
Result2: yyy

Thank you,

Goodbye




What I would like to do is pipe this somehow into a shell script perhaps, editing the body to reflect something like this:

Hallo User,

{TAG1}Result1: xxx{TAG1}
{TAG2}Result2" yyy{TAG2}

Thank you,

Goodbye

...and then forward this result to anotheruser@mydomain.com

Any ideas? pointers? words I could use in a google search? Anything?

 
Have the email delivered to a new account name. Use a .qmail file for delivery for that account name. Include some bash command pipes with a final &destinationemail@example.com for delivery.



Hosting Solutions for Home or Business.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top