2009/2/4 Bulend Kolay <bma...@ihlas.net.tr>:
> I use php-5.2.6 and apache2.2.x on opensuse11
>
> I have a file called mailsend.php to send a mail of html format.
> the server sends the mail form of html format. But I get it as text instead
> of html.
> default_mimetype is set as text/html in php.ini file.
>
> How can I correct this ?

The default_mimetype applies to the headers returned to browsers by
PHP, it does not have any effect on emails you send.

To send HTML email I would suggest you use phpmailer[1] because it
makes the whole process quite painless.

-Stuart

[1] http://phpmailer.codeworxtech.com/

-- 
http://stut.net/

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

Reply via email to