Re: [PHP] Attaching a PDF in email (no body text displays)

2005-07-21 Thread Joseph
sorry, i think i misunderstood his problem. I didn't get the replies to his original post until after I sent mine jzf Joseph wrote: Ade Smith wrote: I am attaching a PDF document to an email, this part works great, however to get this to work it prevents the text in the body of the mess

Re: [PHP] Attaching a PDF in email (no body text displays)

2005-07-21 Thread Joseph
Ade Smith wrote: I am attaching a PDF document to an email, this part works great, however to get this to work it prevents the text in the body of the message to be displayed, what am I doing wrong? Here is the code: $filename = "confirmation.pdf"; if(!($fp = fopen($filename, "r"))):

Re: [PHP] Attaching a PDF in email (no body text displays)

2005-07-21 Thread James Benson
Personally I use the MimeMail class, that works a treat, http://www.phpguru.org/static/mime.mail.html Their are two versions, one php4 one php5, or install via pear. JB Ade Smith wrote: I am attaching a PDF document to an email, this part works great, however to get this to work it pre

RE: [PHP] Attaching a pdf in email (no body text displays)

2005-07-21 Thread Jay Blanchard
[snip] Then, instead of just reposting your original message, let us know that it didn't work. [/snip] Forgot to say that there is a tutorial on http://www.zend.com by Coggershall telling how to do e-mail with attachements. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] Attaching a pdf in email (no body text displays)

2005-07-21 Thread Jay Blanchard
[snip] Unfortunately their suggestion did not work. [/snip] Then, instead of just reposting your original message, let us know that it didn't work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Attaching a pdf in email (no body text displays)

2005-07-21 Thread Ade Smith
Unfortunately their suggestion did not work. -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 11:28 AM To: PHP - General Subject: RE: [PHP] Attaching a pdf in email (no body text displays) SOMEONE ANSWERED THIS FOR YOU I've att

RE: [PHP] Attaching a pdf in email (no body text displays)

2005-07-21 Thread Jay Blanchard
SOMEONE ANSWERED THIS FOR YOU I've attached some comments inline. Ade Smith wrote: >I am attaching a PDF document to an email, this part works great, however to >get this to work it prevents the text in the body of the message to be >displayed, what am I doing wrong? Here is the code > > >

[PHP] Attaching a PDF in email (no body text displays)

2005-07-21 Thread Ade Smith
I am attaching a PDF document to an email, this part works great, however to get this to work it prevents the text in the body of the message to be displayed, what am I doing wrong? Here is the code: $filename = "confirmation.pdf"; if(!($fp = fopen($filename, "r"))): $error =

Re: [PHP] Attaching a pdf in email (no body text displays)

2005-07-20 Thread Chris
I've attached some comments inline. Ade Smith wrote: I am attaching a PDF document to an email, this part works great, however to get this to work it prevents the text in the body of the message to be displayed, what am I doing wrong? Here is the code $filename = " confirmation.pdf"; if(

[PHP] Attaching a pdf in email (no body text displays)

2005-07-20 Thread Ade Smith
I am attaching a PDF document to an email, this part works great, however to get this to work it prevents the text in the body of the message to be displayed, what am I doing wrong? Here is the code $filename = " confirmation.pdf"; if(!($fp = fopen($filename, "r"))): $error = "C