Main Tutorials

Different between Inline and Attachment in Email

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 🙂

About Author

author image
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

Subscribe
Notify of
3 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Sulaiman
4 years ago

How to can we show the mail content in JSF?
I want to show exactly the mail content as I see it in outlook software.

email archiving
13 years ago

While we are taking on the topic of Different between Inline and Attachment in Email, Once you have gotten your form set up, you’ll need to set up a pop email account on your server just for your list(s). You can title it “lists” or whatever you want. Also, you will need to set up 2 email aliases for subscription requests. Example, [email protected] and [email protected].