M
Maya
Hello Everybody,
I have an application that receives a text in this format:
Received from john [227.27.34.12] by server.com with ESMTP (SMTPD32-8.05) id
AD5258A0142; Sun, 01 Aug 2004 02:54:26 +0100 From: "John smith" To: "maya"
Subject: Test message Date: Sun, 1 Aug 2004 03:00:43 +0100 MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By
Microsoft MimeOLE V6.00.3790.181 Thread-Index Body: How are you?
Is it possible to pull specific text that I only need from the above text
and assign it to string variables like this:
TextBox1.Text = From: "John smith"
TextBox2.Text = Subject: Test message
TextBox3.Text = Body: How are you?
Keep in mind that strings "From:" and "Subject:" and "Body:" are fixed
strings contained all the time in the original text.
Thanks for your help.
I have an application that receives a text in this format:
Received from john [227.27.34.12] by server.com with ESMTP (SMTPD32-8.05) id
AD5258A0142; Sun, 01 Aug 2004 02:54:26 +0100 From: "John smith" To: "maya"
Subject: Test message Date: Sun, 1 Aug 2004 03:00:43 +0100 MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By
Microsoft MimeOLE V6.00.3790.181 Thread-Index Body: How are you?
Is it possible to pull specific text that I only need from the above text
and assign it to string variables like this:
TextBox1.Text = From: "John smith"
TextBox2.Text = Subject: Test message
TextBox3.Text = Body: How are you?
Keep in mind that strings "From:" and "Subject:" and "Body:" are fixed
strings contained all the time in the original text.
Thanks for your help.