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
 
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
 
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-


 
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
T Why do Outlook Desktop 2021 tasks from my wife's email show up in my task pane? Using Outlook 2
A Opening a link from an email automatically Outlook VBA and Custom Forms 0
D Outlook 2021 New email reminder Using Outlook.com accounts in Outlook 0
Rupert Dragwater How do I remove an email ending with @gmail.com Using Outlook 4
M A plug in (or method) to keep email message formatting after it expires Using Outlook 1
L VBA to Triage Incoming Email Outlook VBA and Custom Forms 0
R Legacy Outlook on Mac Email Cache Using Outlook 0
P Email address auto-completes work fine on laptop, but no longer on desktop Using Outlook 3
S Create Outlook Task from Template and append Body with Email Body Outlook VBA and Custom Forms 4
H Copying email address(es) in body of email and pasting in To field Outlook VBA and Custom Forms 1
A Search folder and move the email Outlook VBA and Custom Forms 0
P VBA to add email address to Outlook 365 rule Outlook VBA and Custom Forms 0
farrissf Outlook 2016 Optimizing Email Searches in Outlook 2016: Seeking Insights on Quick Search vs Advanced Search Features Using Outlook 0
D Delete selected text in outgoing email body Outlook VBA and Custom Forms 0
F Graphics in email / Mac recipient garbled Using Outlook 0
D Outlook VBA forward the selected email to the original sender’s email ID (including the email used in TO, CC Field) from the email chain Outlook VBA and Custom Forms 2
Witzker Outlook 2019 Macro to seach in all contact Folders for marked Email Adress Outlook VBA and Custom Forms 1
E Outlook 365 Save Selected Email Message as .msg File - oMail.Delete not working when SEARCH Outlook VBA and Custom Forms 0
S Email Macros to go to a SHARED Outlook mailbox Draft folder...NOT my personal Outlook Draft folder Using Outlook 2
R Outlook 365 VBA AUTO SEND WITH DELAY FOR EACH EMAIL Outlook VBA and Custom Forms 0
G Print email attachments when hit subfolder Outlook VBA and Custom Forms 1
C Spam Email? Using Outlook 2
G Automatically delete email when a condition is met Outlook VBA and Custom Forms 1
E Save Selected Email Message as .msg File - digitally sign email doesn't works Outlook VBA and Custom Forms 1

Similar threads

Back
Top