If you want to send an image file as an attachment you can send a multipart message as above, but if all you want to do is include an image in the body of your email all you have to do is use a fully qualified URL for your image. i.e. <img src="http://www.server.com/image.jpg"> instead of <img src="image.jpg">.