Koozali.org: home of the SME Server

php & mimemail

Matthias Redl

php & mimemail
« on: April 23, 2002, 03:15:52 PM »
Hello,

In our company we are using SME 5.1 as Testserver for Web Developement and as Gateway to the internet. Everything works perfect, except one detail:

When using PHP's internal mail() function to send an e-mail to a user on the local system (@), it's not possible to generate Mime Mails (including HTML and inline graphics).

It works if you send a MIME e-mail from SME to an e-mail adress on another server, it works if you send the e-mail from an outside server to SME. It even works if you send an e-mail from SME to an outside e-mail address that only forwards the email back to SME.

Somehow E-Mail MIME Headers generated by PHP are not accepted by the internal Mailserver, if they come from the internal sendmail. Any ideas? If someone wants to test MIME Mails using PHP, I can only recomment Manuel Lemos MIME-Mail Class available at http://phpclasses.upperdesign.com.

it's really frustrating!

Thanks,
Matthias Redl