Sending MIME format email without the PEAR mail mime package?

Sending MIME format email without the PEAR mail mime package?

am 20.12.2007 13:33:18 von Hans-Peter Sauer

Hi,

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.

Many thanks in advance.

--
James

Re: Sending MIME format email without the PEAR mail mime package?

am 20.12.2007 13:50:26 von Shion

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

Re: Sending MIME format email without the PEAR mail mime package?

am 20.12.2007 16:16:32 von Good Man

"James A" wrote in
news:iitaj.10820$h35.10252@newsfe2-gui.ntli.net:

> Hi,
>
> 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.
>
> Many thanks in advance.
>
> --
> James
>
>

http://phpmailer.sourceforge.net/


It's free, it just looks glitzy all of a sudden (apparantly there was a new
release last week after a couple years of no releases...)

Re: Sending MIME format email without the PEAR mail mime package?

am 20.12.2007 20:23:19 von Hans-Peter Sauer

"Good Man" wrote in message
news:Xns9A0C688911BAEsonicyouth@216.196.97.131...
> "James A" wrote in
> news:iitaj.10820$h35.10252@newsfe2-gui.ntli.net:
>>
>> 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?
>
> http://phpmailer.sourceforge.net/
>
> It's free, it just looks glitzy all of a sudden (apparantly there was a
> new
> release last week after a couple years of no releases...)

That's great, thank you!

--
James

Re: Sending MIME format email without the PEAR mail mime package?

am 20.12.2007 20:23:20 von Hans-Peter Sauer

"J.O. Aho" wrote in message
news:5sv6oiF18oshlU1@mid.individual.net...
> 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?
>
> 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

Many thanks for the pointer!

--
James