PHP SMTP class 2004-06-28 from: http://xjtusky.net/Article/Article.php/528
PHP SMTP class
PHP SMTP class
/ ******************************************
PHP MIME SMTP VER 1.0 Powered by Boss_Ch, Unigenius Soft Ware Co. LTD
All Rights Reserved, CopyRight 2000;
This class uses PHP to send MIME types of mail via SMTP SOCK, you can send
The body, attachment of HTML format, Base64 encoding
This version is aimed at personal transmission. It is different from the multi-crop version. Each time it is sent to a person, it will be re-coded. On the user's user's view, it is only sent to him.
For many people, only one time is sent once, and send it to different human mail through multiple RCPT TO commands.
Description:
Please set the $ hostname to your default SMTP server or when you are in New
Change $ Charset into your default character set
If there is a picture in the body of HTML, use the absolute path to "http://host/path/image.gif";
And connect to the Internet to ensure that the program can read data information to the image.
If you are submitted through the form, please preprocess your text with StripsLashs ($ HTML_BODY).
Style table files used in HTML, please do not use references such as to define the style table directly