Hello,
I am making a process regarding getting mail messages.
Each line the email contains different information.
How do I attach each of the lines to different string variables?
Hello,
I am making a process regarding getting mail messages.
Each line the email contains different information.
How do I attach each of the lines to different string variables?
@dvn If the Information in the Email is in the Body, Then Suppose ListOfMsgs is your Output of Get Mail Messages. Follow these Steps :
For Each item of ListOfMsgs, Set Type Argument as Mail Message
Inside For Each, Use an Assign Activity, say StrArray = Split(item.Body.ToString,Environment.NewLine)
All the Lines in the Email Body are Stored Separately, in each index of StrArray.
StrArray is Of the type Array of Strings.
thank you very much for the reply and this has helped me very much.
But lets say I only want the first line assigned to a certain string, how would i do that?