Sending custom files as attachments.

the mail() function

Moderators: macek, egami, gesf

Post Reply
User avatar
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

Post by swirlee » Wed Jul 23, 2003 5:54 am

I learned the answer to this just last week from Joan. According to this page, you have to use the Content-Disposition header in addition to your Content-type header:

Code: Select all

header("Content-Disposition: attachment; filename=myfile.hibt");

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests