/mail/community?hl=en
/mail/community?hl=en
1/11/10
Original Poster
jdapena

Sometimes rfc822 subparts are not properly indexed to access them with BODY.PEEK

I'm implemeting email client access to IMAP servers, using on demand retrieval of subparts. I found the following issue in Gmail IMAP implementation.

I have a message with the following structure:

(text/plain, message/rfc822-multipart/alternative (text/plain, text/html))

The expected body part indexes for this in IMAP are:
1 -> text/plain
2 -> message/rfc822 full content
2.HEADER -> headers of the message
2.TEXT -> multipart/alternative full contents
2.1 embedded message text/plain
2.2 embedded message text/html

But I have this structure accessing to this message in gmail imap:

1 -> text/plain
2 -> message/rfc822 full content
2.1 -> multipart/alternative full contents
2.1.1 -> embedded message text/plain
2.1.2 -> embedded message text/html

It's strange as a very similar message, but having a multipart/mixed as top part of the message/rfc822 part gets the proper structure.

It's bad as it makes really difficult to implement properly this support in gmail (when does it follow rfc3501? when doesn't?)







Please Also Include:
Operating system (e.g. WinXP): 
Program and version you use to access Gmail (e.g. Internet Explorer 7 or Outlook 2003):  
Your antivirus software (e.g. Norton 2007):
Any extensions, toolbars or plug-ins:
Community content may not be verified or up-to-date. Learn more.
This question is locked and replying has been disabled. Still have questions? Ask the Help Community.

Badges

Some community members might have badges that indicate their identity or level of participation in a community.

 
Expert - Google Employee — Googler guides and community managers
 
Expert - Community Specialist — Google partners who share their expertise
 
Expert - Gold — Trusted members who are knowledgeable and active contributors
 
Expert - Platinum — Seasoned members who contribute beyond providing help through mentoring, creating content, and more
 
Expert - Alumni — Past members who are no longer active, but were previously recognized for their helpfulness
 
Expert - Silver — New members who are developing their product knowledge
Community content may not be verified or up-to-date. Learn more.

Levels

Member levels indicate a user's level of participation in a forum. The greater the participation, the higher the level. Everyone starts at level 1 and can rise to level 10. These activities can increase your level in a forum:

  • Post an answer.
  • Having your answer selected as the best answer.
  • Having your post rated as helpful.
  • Vote up a post.
  • Correctly mark a topic or post as abuse.

Having a post marked and removed as abuse will slow a user's advance in levels.

View profile in forum?

To view this member's profile, you need to leave the current Help page.

Report abuse in forum?

This comment originated in the Google Product Forum. To report abuse, you need to leave the current Help page.

Reply in forum?

This comment originated in the Google Product Forum. To reply, you need to leave the current Help page.