I am stuck with webmail body extraction let me explain in detail
1.I have logged in by giving mailid , password and port 993 (GetIMapMailactivity).
2.By for Each loop i am getting in to the mail inbox
3.Here in this step i am searching for item.subject.Contains(“specific keyword”)
4.then i have taken sequence work flow
5.to verify whether cursor is going or not i have showed in messagebox
6.In Message box item.To is displaying, item.From is working, but item.Body is not working
can you any one help me on this
for reference i am sharing the screen shot of this
Mail body not extracting in message alert box its getting empty
1.each step i am checking with message box like item.to,item.from every thing giving output but item.body is not getting giving empty
2.next further steps i have taken regx and sub-string methods due to mail body is giving empty output finally i am getting startindex is cannot be less than zero and system.Arguments.OutofRange exception i am getting
As you are getting null values for both the strings, if you try trim, split or substring , I mean string manipulations on the empty string, you will get that errors. try removing all those manipulations and loop some 30 - 40 mails. so it will display the body of few mails leaving the mails with no body @gurrapujp
Are you getting the body as null even the body of the message is not empty?