Hey,
Thanks, even that htmlmail example was a bit too much for my needs but in 10
mins I cut it down to the simple stuff
I wanted to do (just send a html message with a text part...).
I really didnt need the attachment part/s and cut that out. There are still
2 parts I really dont understand even though
I know how to use them :-)...but that class is really good and it shows how
much interest and time you put into it, only
thing I think is missing is a kind of readme file which contains
documentation explaining each of the functions and the
parameters they take.
But no complaints from me...coz its working great!
Cheers,
-Ryan
Hello,
On 02/21/2004 01:39 AM, Ryan A wrote:
I downloaded a class from php classes called clssendmail, the class
was
working on a different server
but now I get this error when I try to use it:
Call to undefined function: imap_8bit() in.
The class is basically to send an email in 2 parts, plain text and
HTML...if
the person has html off or cannot view html email then the plain text
one
will display else the HTML part will display.
After googleing I see that sometimes PHP is not compiled with Imap_8bit
which causes this problem...:-(
Yes, IMAP extension is optional but fortunately it is not necessary for
what you want.
Just try this other class that comes with an example to do exactly what
you want. Check the HTML message example as it explains how to compose
and send a message with an HTML part and an alternative text part. It
may also embed any images or attachment files if you want:
http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php