PDA

View Full Version : using mail() to send attachments


davehaz
04-06-2006, 06:43 PM
howdy,
Is it possible to use the function mail() to send an attachment, if so how would I do this?

tia.

felgall
04-07-2006, 12:05 AM
Use MIME to encode the body of the email and use multipart/mixed to identify that the email contains two parts (the text and the attachment).

davehaz
04-07-2006, 12:13 AM
would you by chance have a link to good tutorial on using mime?

thanks.