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
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"))):
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
[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
[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
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
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
>
>
>
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 =
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(
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
10 matches
Mail list logo