anybody???  still haven't gotten this figure out.


"Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
> OK - I got the rasmail codes from's code library.  it is working
> perfectly for my application except for one problem.  the email I am using
> to send has a .pdf file attachment.
> I can open that PDF file up directly from the site after it is created,
> I cannot open the file attachment up.  it seems the coding is wrong of
> something like that so that the attachment is getting corrupted.
> I have emailed the author for assistance, but haven't receive a response.
> I'm hoping somebody here can assist me.
> here is the part of code;
> function Attachment($attachedfile) {
>   if ($attachedfile) {
>   $pf=@fopen($attachedfile,"r") or die($this->ErrorOutput(9));
>   $bytes=fread($pf,filesize($attachedfile));
>   $file=chunk_split(base64_encode($bytes));
>   fclose($pf);
>   }

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to