php email attachement, works but the attachment is corrupt

segaosvmadi

New Member
i have created a form that can send and email with a specified attachment, it come through to my mail address ok, and seem to work fine untill i attempt to open the file, it tell me its damaged or corrupt, i think this is down to my headers.here is my code.http://pastebin.com/Y0MUHzSsany help would be appreciated.
 
Back
Top