How attachments are send through mail?.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
selvamdoom
Forum Newbie
Posts: 7
Joined: Wed Apr 29, 2009 12:53 pm

How attachments are send through mail?.

Post by selvamdoom »

How attachments are send through mail? and how the mail servers get that attachments?. For example i send a picture from a gmail id to a yahoo id how the yahoo server get that picture? and view that picture? because yahoo and gmail are different servers and that web sites are developed in different languages and different platforms also. please clear my doubt.
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: How attachments are send through mail?.

Post by Darhazer »

Wikipedia wrote:An e-mail attachment (or email attachment) is a computer file which is sent along with an e-mail message. The file is not a separate message, but now it is almost universally sent as part of the message to which it is attached. Attached messages may be sent in unencoded form, or encoded in a number of ways: base64, binhex, uuencoding, quoted-printable. In MIME, the standard Internet e-mail format, messages and their attachments are sent as a single multipart message, usually using base64 encoding for non-text attachments.
Hope this is helpful. There is a lot you can read about e-mail and attachments, but the basics are those. By the way file uploading usually works in similar way - multipart messages :)
Post Reply