[PHP] Quoted-Printable Encoding

2001-07-16 Thread Sheridan Saint-Michel

I am trying to put together a script that e-mails web pages (similar to the send page 
functionality in IE).

Is there a function that will convert HTML from plaintext into Quoted-Printable 
Encoding (ie = becomes =3D) so I can 
e-mail it?

Or will one of the encodings available (ie rawurlencode) work in it's place?

Any help or ideas would be greatly appreciated.

Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com



Re: [PHP] Quoted-Printable Encoding

2001-07-16 Thread jeremy brand

I think you will want to use the imap_8bit() function:
http://php.net/imap_8bit

But, I'm not sure if there is a version available in PHP without compiling
in c-client IMAP.

Jeremy

Jeremy Brand :: Sr. Software Engineer :: +393485323988 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
LINUX is obsolete  -- Andy Tanenbaum, January 29th, 1992
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Get your own Free, Private email at http://www.smackdown.com/

On Mon, 16 Jul 2001, the following spilled from the mind of Sheridan...:

 Date: Mon, 16 Jul 2001 14:23:00 -0500
 From: Sheridan Saint-Michel [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [PHP] Quoted-Printable Encoding

 I am trying to put together a script that e-mails web pages (similar to the send 
page functionality in IE).

 Is there a function that will convert HTML from plaintext into Quoted-Printable 
Encoding (ie = becomes =3D) so I can
 e-mail it?

 Or will one of the encodings available (ie rawurlencode) work in it's place?

 Any help or ideas would be greatly appreciated.

 Sheridan Saint-Michel
 Website Administrator
 FoxJet, an ITW Company
 www.foxjet.com





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Quoted-Printable Encoding

2001-07-16 Thread Sheridan Saint-Michel

I tried the imap_8bit function, but got:

Fatal error: Call to undefined function: imap_8bit() in
/home/www/foxjet/admin/mailer.php on line 44

I do not have control over what is compiled on my hosts machine.  They are
running PHP 4.0.4pl1

I am not sure how to tell what has and has not been compiled, but I threw up
an info page here

http://www.foxjet.com/info.php

Are there any other functions I could use, instead if imap_8bit?

Sheridan

- Original Message -
From: jeremy brand [EMAIL PROTECTED]
To: Sheridan Saint-Michel [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 3:18 PM
Subject: Re: [PHP] Quoted-Printable Encoding


 I think you will want to use the imap_8bit() function:
 http://php.net/imap_8bit

 But, I'm not sure if there is a version available in PHP without compiling
 in c-client IMAP.

 Jeremy

 Jeremy Brand :: Sr. Software Engineer :: +393485323988 ::
[EMAIL PROTECTED]
 http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 LINUX is obsolete  -- Andy Tanenbaum, January 29th, 1992
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   Get your own Free, Private email at http://www.smackdown.com/

 On Mon, 16 Jul 2001, the following spilled from the mind of Sheridan...:

  Date: Mon, 16 Jul 2001 14:23:00 -0500
  From: Sheridan Saint-Michel [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: [PHP] Quoted-Printable Encoding
 
  I am trying to put together a script that e-mails web pages (similar to
the send page functionality in IE).
 
  Is there a function that will convert HTML from plaintext into
Quoted-Printable Encoding (ie = becomes =3D) so I can
  e-mail it?
 
  Or will one of the encodings available (ie rawurlencode) work in it's
place?
 
  Any help or ideas would be greatly appreciated.
 
  Sheridan Saint-Michel
  Website Administrator
  FoxJet, an ITW Company
  www.foxjet.com
 




 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]