+1 vote

I have been using Limilabs to read specific gmail from my customers's accounts and parse/process the relevant information.It has been working very well.

Basically, the email contains information about reservations, some clients send one email for each reservation and others send it with a list of reservations.

So far so good.

The problem is that now, one of the customers is sending the emails with a lot of reservations on it but the email body only shows the header for each one.

It is necessary to click on each header to expand and view the context. This doesn't work for me, cause the email is been retrieved with the headers only. The code uses the GetBodyAsText() method. Is there any way to get the entire content without clicking the headers?

I hope I've explained my question well and would be very thankfull for any assistance in finding a solution.

by

1 Answer

0 votes
 
Best answer

I think you are mistaken. If you use Imap.GetMessageByUID method to download email from the IMAP server entire email is downloaded.

Mail.dll doesn't hide any email content, no matter how large is the mail message.

[Edit]
As it turns out, the problem was with the Gmail's UI - which was grouping several emails into a single conversation.

The solution was to turn the conversation view off:

Settings -> General -> Conversation View -> Off

Of course this doesn't affect how Gmnail's IMAP server works. When using IMAP (and Mail.dll), you can download every email separately no matter if this setting is turned on or off.

by (301k points)
edited by
I apologize I didn't explain my question very well. I know, besides it is obvious, that this is not a problem with the Limilabs dll. I will try your suggestion and see how it works. Thanks.
So, is your problem with the Gmail UI?
Yes. Have you seen what I'm talking about? I mean the email formatted in this way, with multiple "headers" in the body with an icon to click and expand to view the content?
Are you sure those are not several emails grouped by Gmail into a single conversation? If so, when using IMAP, you can download every email separately.
I don't know. It could be. But it is the only client who sends email like that. All other are normal.
Is there any way I can email you a picture ?
Most likely the client sends several email and your Gmail is grouping them into a single conversion. Use the support email in the footer.
OK. I think this is what is happening. How do I mark this thread as answered?
You were right. Using  Settings->General->Conversation View->Off solved the problem. Thanks so much.
...