Solved

Able to Change an Entry in an Email Body

Posted on 2003-11-10
3
186 Views
Last Modified: 2010-04-22
Please find a sample of an email :

x-sender: demo@mydomain.com
x-receiver: 22767695@faxdomain.com
content-class: urn:content-classes:message
Subject: Demo Fax Message
MIME-Version: 1.0
Content-Type: text/plain;
      charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 16 Sep 2003 15:10:59 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Fw: Looking for partner
Thread-Index: AcN5MiT2fu77XQrAQDCzMvppN+c1cADGjbgw
From: "My Name" <myemail@mydomain.com>
To: "22767695@faxdomain.com" <'22767695@faxdomain.com'>

Question : How can i change any of the above fields ( To: , From: , etc ) while routing
that email from my server. What i really need for the moment is at the To: Section to be able to make it like To: "22767695" <'22767695@faxdomain.com'>
0
Comment
Question by:Christos_Petrides
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 50 total points
ID: 9714718
sed -e 's/To: "\([^@]*\)\([^"]*\)\(.*\)/To: "\1\3/' oldmailfile > newmailfile
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question