Separate string in email body

Status
Not open for further replies.
N

navin

Hello Everyone,

For one of my applications, I insert the details of the mail into a

database (Sender Name, Date received etc..) which is working fine.

Hoever, In the middle of body of the mail, i have a string separated

by commas and I need to split this string.

Please let me know if this possible.

Thanks,

Navin
 
K

Ken Slovak - [MVP - Outlook]

Sure it's possible.

How would depend on what language you're using, and how you propose to

recognize that string.

It also would help to know if you are using the Body or HTMLBody property.

Stating the Outlook version would earn you bonus points.

"navin" <navin.narayana@gmail.com> wrote in message

news:122358e5-ee56-4fe6-af6d-74b388b9c04a@o10g2000yqa.googlegroups.com...
> Hello Everyone,

> For one of my applications, I insert the details of the mail into a
> database (Sender Name, Date received etc..) which is working fine.
> Hoever, In the middle of body of the mail, i have a string separated
> by commas and I need to split this string.

> Please let me know if this possible.

> Thanks,
> Navin
 
N

navin

Hello,

Thanks for replying to my questions.

Mail format is HTMLBody and I am using Outlook 2003. Below is the mail

which i receive.

Dear Navin,

This is to notify you that you have received a new work item from Work

Manager system.

Please follow the link below to review the work item.

WorkItem, Profiler Approval for Amendment 1, Corp.Services_408_Sun

Micro__StartDate__A1 <---- This is a link which takes me to the order

when clicked.

I need to split the above string which is separated by comma.

Thanks again for your help...

Navin

On Oct 13, 1:37 am, "
<kenslo...@mvps.org> wrote:
> Sure it's possible.

> How would depend on what language you're using, and how you propose to
> recognize that string.

> It also would help to know if you are using the Body or HTMLBody property..
> Stating the Outlook version would earn you bonus points.

> >

> http://www.slovaktech.com

> "navin" <navin.naray...@gmail.com> wrote in message

> news:122358e5-ee56-4fe6-af6d-74b388b9c04a@o10g2000yqa.googlegroups.com...

>
> > Hello Everyone,

>
> > For one of my applications, I insert the details of the mail into a
> > database (Sender Name, Date received etc..) which is working fine.
> > Hoever, In the middle of body of the mail, i have a string separated
> > by commas and I need to split this string.

>
> > Please let me know if this possible.

>
> > Thanks,
> > Navin-


 
K

Ken Slovak - [MVP - Outlook]

Since you didn't bother to say what language you plan to use I'd have to

guess and say if you are using VBA/VB6 you'd use the Split() function which

returns an array of items split by a supplied delimiter. If you are using a

managed code language you'd use the .Split() function there on the string.

Use the Help on Split() for whatever language you're using to get the exact

syntax.

You'd find the string I guess by looking for "WorkItem" I guess, if that's

consistent. Then you would in the case of HTML look for a <br> or <p> or

whatever is used to end that text.

"navin" <navin.narayana@gmail.com> wrote in message

news:e6b6711b-b4f7-417c-a235-d86b12e53e22@a7g2000yqo.googlegroups.com...

Hello,

Thanks for replying to my questions.

Mail format is HTMLBody and I am using Outlook 2003. Below is the mail

which i receive.

Dear Navin,

This is to notify you that you have received a new work item from Work

Manager system.

Please follow the link below to review the work item.

WorkItem, Profiler Approval for Amendment 1, Corp.Services_408_Sun

Micro__StartDate__A1 <---- This is a link which takes me to the order

when clicked.

I need to split the above string which is separated by comma.

Thanks again for your help...

Navin
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
N Separate Read Layout Editing Outlook VBA and Custom Forms 0
A Separate Read Layout Outlook VBA and Custom Forms 4
D Move Emails between Folders in Separate Mailbox Outlook VBA and Custom Forms 12
L Outlook 2007 Separate the Send/Receive functions Using Outlook 2
M Separate Internal and external emails in outlook Using Outlook 1
T Reinstalled OL2010 now have 3 separate inboxes and contacts missing Using Outlook 2
M setting up 2 separate businesses in Outlook 2010 Using Outlook 2
P [SOLVED] How to separate/show appts by users on one sheet Using Outlook 2
N separate signatures for different accounts Outlook VBA and Custom Forms 6
P Does Bus. Cont. Mgr run separate from personal database? BCM (Business Contact Manager) 1
T Customize button image for separate Outlook forms region Outlook VBA and Custom Forms 2
Z WebView doesnt function with separate pst Outlook VBA and Custom Forms 3
S HTML Code Embedded in String Within Open Outlook Email Preventing Replace(Application.ActiveInspector.CurrentItem.HTMLBody From Working Outlook VBA and Custom Forms 4
B Outlook 365 Populate Outlook Task UDFs from a UDF text string Outlook VBA and Custom Forms 2
S vba outlook search string with special characters Outlook VBA and Custom Forms 1
S VBA search string with special characters Outlook VBA and Custom Forms 1
BartH Add a string to the conditions in .Conditions.BodyOrSubject.Text Outlook VBA and Custom Forms 2
M Adding Macro to populate "to" "subject" "body" not deleting email string below. Outlook VBA and Custom Forms 5
R Sending email copy (*.msg file) of sent email if subject line contains specific string. Outlook VBA and Custom Forms 1
skyfox VBA to search email subject field for a certain string Outlook VBA and Custom Forms 3
C Save Subject of Received Email as a String Outlook VBA and Custom Forms 1
P String manipulation in Outlook VBA Outlook VBA and Custom Forms 2
M Find a String in Email Attachment(s) Outlook VBA and Custom Forms 1
S [O2007] -> How to search for a string in the body and get the line number? Outlook VBA and Custom Forms 1
T Is it possible to INSERT a string into email body via Shortcut. Outlook VBA and Custom Forms 2
V Can one change the formatting of email title blocks? Using Outlook 0
P default font when sending email from browser Using Outlook 1
D VBA Macro to Print and Save email to network location Outlook VBA and Custom Forms 1
B IMAP server rejects sent email - cannot deliver messages Using Outlook 2
TedSch Small vba to kill political email Outlook VBA and Custom Forms 3
X Open Hyperlinks in an Outlook Email Message (Help with Diane's solution) Outlook VBA and Custom Forms 3
e_a_g_l_e_p_i Email notifications changed with Outlook 2021 Using Outlook 8
glnz How to retrieve or redo Verizon.net email password without affecting Outlook connection? Using Outlook 1
Z Copy specific email body text Outlook VBA and Custom Forms 0
D ISOmacro to extract active mail senders name and email, CC, Subject line, and filename of attachments and import them into premade excel spread sheet Outlook VBA and Custom Forms 2
M Outlook 365 refuses to send email Using Outlook 1
B Search and Find Email by Folder Name Outlook VBA and Custom Forms 2
K Closing external IMAP email... Outlook 2013 Using Outlook 0
L Capture email addresses and create a comma separated list Outlook VBA and Custom Forms 5
C Email bomb processing Outlook VBA and Custom Forms 1
O What would be the recommended way to change an email address (family member)? Using Outlook 0
A Outlook 2016 Macro to Reply, ReplyAll, or Forward(but with composing new email) Outlook VBA and Custom Forms 0
L Checking Sender Email Address for trusted domain from list on intranet Outlook VBA and Custom Forms 4
J How do you disable address search box when typing @ in body of email? Using Outlook 0
Victor.Ayala Automated way to check the option "Show this folder as an email Address Book" Outlook VBA and Custom Forms 2
D Wrong email address in Outlook 2003 "From" tab in new outgoing emails Using Outlook 4
D Forwarding email based on the attachment file type and specific text found on the attachment file name Outlook VBA and Custom Forms 1
F Forward incoming email with 4 embedded images in the body without original sender Outlook VBA and Custom Forms 22
W Macro to Filter Based on Latest Email Outlook VBA and Custom Forms 6
D Create advanced search (email) via VBA with LONG QUERY (>1024 char) Outlook VBA and Custom Forms 2

Similar threads

Top