i'm using php mailer to send email with attachment...i first save the pdf on my server then the script attaches the file to the email. it is sending the email fine but then my pdf attachment is corrupted. any one have any ideas? i tested the file that is on my server and it seems to be working fine. the problem lies with the attachment...encoding base64. any help would be appreciated.