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
Beeto Replace a string in body Outlook VBA and Custom Forms 2
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 Macro to mark email with a Category Outlook VBA and Custom Forms 4
R Roadrunner Email Settings | Contact Roadrunner Customer Support Outlook VBA and Custom Forms 0
D Gmail mail is being delivered to a different email inbox in Outlook App 2021 Using Outlook 2
Albert McCann Outlook 2021 Outlook Display of HTML Email from two senders is glitchy Using Outlook 0
A How Do I Setup My Optonline.Net Email Account? Outlook VBA and Custom Forms 1
H Preventing the 'email address fetch from Exchange' crashing email reading code Exchange Server Administration 0
D multiple email accounts - why do I have to choose the "from" account address?? Using Outlook 2
Wotme create email only data file Using Outlook 1
F Outlook 2016 Email with attachments not being received Using Outlook 2
J Outlook 2019 Regex email addresses from body Outlook VBA and Custom Forms 6
D Prompt to prefix subject line whenever sending an email Outlook VBA and Custom Forms 3
J Quick steps delete original email and move reply/sent email to folder Using Outlook 2
C Wishlist Extract or scan new email addresses from out of office replies. Leads from OOO replies Using Outlook 1
T External email warning banner Outlook VBA and Custom Forms 0
A Links in email getting error message about group policy Using Outlook 4
richardwing Auto forward email that is moves into a specific outlook folder Outlook VBA and Custom Forms 5
J Recommendations for Outlook Duplicate Email Remover Using Outlook 6
Geldner Tweak Junk Email Reporting tool to default to particular email on send? Using Outlook 3
S Outlook 365 Can I change the possible range of highlighting colours when writing an Outlook email? Using Outlook 1
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

Similar threads

Top