[RESOLVED] Sending attachment in email

I'm using the code in the attachment but I don't know how to add an attachment to the email - I've wrote and rewrote code but I can't seem to get it working
Any ideas?
EDIT: RESOLVED
[220 byte] By [bubble_girl] at [2007-11-20 10:19:14]
# 1 Re: [RESOLVED] Sending attachment in email
You can't just attach a file. You'd have to encode it and send it as a stream.

http://www.livinginternet.com/e/ea_att_mime.htm
dglienna at 2007-11-9 19:35:11 >