Re: [PHP] How to create multipart e-mail bodies?

2007-12-07 Thread HostWare Kft.
Thanks, but unfortunately my ISP does not implemented PEAR, and uses PHP 
4.3.10.


- Original Message - 
From: [EMAIL PROTECTED]

To: Sándor Tamás (HostWare Kft.) [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, December 07, 2007 12:07 PM
Subject: Re: [PHP] 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.) [EMAIL PROTECTED]
Datum: Freitag, Dezember 7, 2007 12:04 pm
Betreff: [PHP] How to create multipart e-mail bodies?
An: php-general@lists.php.net


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

H1Hi there!/H1
PThis 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



Re: [PHP] How to create multipart e-mail bodies?

2007-12-07 Thread Richard Heyes
Thanks, but unfortunately my ISP does not implemented PEAR, and uses PHP 
4.3.10.


You can view the source code on http://pear.php.net and use that. Your 
ISP doesn't have to support PEAR.


--
Richard Heyes
http://www.websupportsolutions.co.uk

Knowledge Base and HelpDesk software
that can cut the cost of online support

** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS **

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



Re: [PHP] How to create multipart e-mail bodies?

2007-12-07 Thread Richard Heyes

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:


http://www.phpguru.org/downloads/html.mime.mail/

--
Richard Heyes
http://www.websupportsolutions.co.uk

Knowledge Base and HelpDesk software
that can cut the cost of online support

** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS **

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



Re: [PHP] How to create multipart e-mail bodies?

2007-12-07 Thread Robert . Degen
Well, the implementation problem could be fixed by copying PEAR into your 
source folder. That should work even with PHP4 but without the nice class 
architecture.

I just can recommend - PEAR is state of the art, and it works perfectly.

But think about switching to PHP5. My hosting provider serves both, controlled 
via htaccess.

:-)

Rob



- Ursprüngliche Nachricht -
Von: Sándor Tamás (HostWare Kft.) [EMAIL PROTECTED]
Datum: Freitag, Dezember 7, 2007 12:19 pm
Betreff: Re: [PHP] How to create multipart e-mail bodies?
An: [EMAIL PROTECTED]
Cc: php-general@lists.php.net

 Thanks, but unfortunately my ISP does not implemented PEAR, and 
 uses PHP 
 4.3.10.
 
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: Sándor Tamás (HostWare Kft.) [EMAIL PROTECTED]
 Cc: php-general@lists.php.net
 Sent: Friday, December 07, 2007 12:07 PM
 Subject: Re: [PHP] 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.) [EMAIL PROTECTED]
 Datum: Freitag, Dezember 7, 2007 12:04 pm
 Betreff: [PHP] How to create multipart e-mail bodies?
 An: php-general@lists.php.net
 
  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
 
  H1Hi there!/H1
  PThis 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
 


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



Re: [PHP] How to create multipart e-mail bodies?

2007-12-07 Thread Zoltán Németh
2007. 12. 7, péntek keltezéssel 12.00-kor Sándor Tamás (HostWare Kft.)
ezt írta:
 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
 
  H1Hi there!/H1
  PThis 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?

I suggest checking out phpmailer. http://phpmailer.codeworxtech.com/

If you don't want to use it, you can view its source and see how it does
the job and code your own mailer based on that.

greets
Zoltán Németh

 
 Thanks,
 SanTa 
 

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



Re: [PHP] How to create multipart e-mail bodies?

2007-12-07 Thread Per Jessen
Sándor Tamás (HostWare Kft.) wrote:

 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.

Does your email header also include this:

MIME-Version: 1.0


/Per Jessen, Zürich

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



Re: [PHP] How to create multipart e-mail bodies?

2007-12-07 Thread Robert . Degen
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.) [EMAIL PROTECTED]
Datum: Freitag, Dezember 7, 2007 12:04 pm
Betreff: [PHP] How to create multipart e-mail bodies?
An: php-general@lists.php.net

 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
 
 H1Hi there!/H1
 PThis 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] How to create multipart e-mail bodies?

2007-12-07 Thread HostWare Kft.

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

H1Hi there!/H1
PThis 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