Re: How to create multipart e-mail bodies?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, but unfortunately my ISP does not implemented PEAR, and uses PHP 4.3.10.

----- Original Message ----- From: <Robert.Degen@xxxxxxxxxxxxxx>
To: ""Sándor Tamás (HostWare Kft.)"" <sandortamas@xxxxxxxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>
Sent: Friday, December 07, 2007 12:07 PM
Subject: Re:  How to create multipart e-mail bodies?


Hi!

You should take a look at...

http://pear.php.net/package/Mail
http://pear.php.net/package/Mail_Mime

http://pear.php.net/manual/en/package.mail.mail-mime.php
!!! http://pear.php.net/manual/en/package.mail.mail-mime.example.php !!!

This should give you a perfect intro...

My 2 cents.

Rob

----- Ursprüngliche Nachricht -----
Von: "Sándor Tamás (HostWare Kft.)" <sandortamas@xxxxxxxxxxx>
Datum: Freitag, Dezember 7, 2007 12:04 pm
Betreff:  How to create multipart e-mail bodies?
An: php-general@xxxxxxxxxxxxx

Hi,

I don't know if it is a PHP question, but I give it a try.

I've been trying this subject for a while, but with less success.
Now I can create mail bodies like this:

Content-Type: multipart/alternative;
   boundary="-=Part233475926a47beb07.46978329"


---=Part233475926a47beb07.46978329
Content-Type:text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

Hi there!

---=Part233475926a47beb07.46978329
Content-Type:text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

<H1>Hi there!</H1>
<P>This will be fun!</P>


---=Part233475926a47beb07.46978329--


But my mail client can't show any part of it. When I take a look at
the
source code, I can see that it recognise the boundaries, but
somehow for
some reason it doesn't show it.

Any idea?

Thanks,
SanTa

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux