| 
 Posted by J.O. Aho on 12/20/07 12:50 
James A wrote: 
 
> Just wondering if anyone could please help. I would like to use PHP to send  
> MIME format emails (with binary attachments). But I have to do this without  
> the use of the mail mime PEAR package? We are on PHP 4.2.2 and we cannot  
> change that, and we cannot install that PEAR package due to our web hosting.  
> I came across one possibility  
> http://www.sitepoint.com/print/advanced-email-php but it required PHP 5 as  
> it uses the PHP function chunk_split. 
 
I suggest you look at the user comments on 
 
http://www.php.net/manual/en/ref.mail.php 
http://www.php.net/manual/en/function.mail.php 
 
You will get a good hint of how to make a script that handles binary data too. 
 
--  
 
  //Aho
 
[Back to original message] 
 |