Today when i debugging a Java Mail program, i find out one of the checking is about “Part.Attachment” and “Part.Inline” in email message. What is the different between Inline attachment and attachment?

Inline Attachment

Inline attachment usually is an attachment that we can see direclty within the email message body.

For Example,

In outlook express, click email body and choose Insert –> Picture or Insert –> Text From File…. This way, it will insert an inline attachment into email body message.

Attachment

Attachment usually is an attachment that we must click it first to open and view the content.

For Example,

In outlook express, click email body and choose Insert –> File Attachment or “Attach” icon. This way, it will insert an attachment into email body message.

see the different :)