Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

achievements
achievements
15,883 Points

sending more than 2 html files by email

do you know any way to send by email 2 or more html files into a file except zip?

5 Answers

Steven Parker
Steven Parker
229,657 Points

Most email programs will allow you to attach an arbitrary number of files to your message.

But besides holding multiple files, an advantage of using "zip" is that it makes them much smaller, but neither should be necessary just to send them along with your message as attachments.

achievements
achievements
15,883 Points

zip is a fine way but i also want to display images inside zip.I noticed that images are not displayed as html files.I want them all into 1 folder.

Steven Parker
Steven Parker
229,657 Points

If you want images displayed in the email, then insert them instead of attaching them.

achievements
achievements
15,883 Points

do you mean i should put only html files into zip and insert images separately to my email?

Steven Parker
Steven Parker
229,657 Points

Yes, if you want the images displayed with the message. If you only want them sent as data you can attach them either individually or as part of a zip package.

achievements
achievements
15,883 Points

I understand the word "attached" but how to insert?

Steven Parker
Steven Parker
229,657 Points

It depends on your mail agent. If you use Outlook, once you begin a new message there will be an "insert" tab in the menu bar at the top. With some mailers you can just drag and drop an image onto the message. Check the instructions for your particular software.