It is better to send attachment by MIME Standard ("Multipurpose Internet Mail Extensions") because MIME has more new features for e-mail messages, such as:
- arbitrary file attachments, e.g. images, audio files
- more than one file attachment per mail
- multi-part messages
- non-ASCII character sets for message bodies and message headers.