Page 1 of 1

HTML e-mail with PHP, through outlook

Posted: Fri Apr 15, 2005 5:52 am
by bytte
I'm currently coding some kind of CMS. All goes fairly well, but now I'm facing some problems. The company wants to send HTML e-mail to the people that subscribed to their e-mail list.
The easy way would be to use the PHP mail() function to send the e-mail to the e-mailaddresses that are stored in a database. However, there are no e-mailaddresses stored in a database and they do not want to store them in a database in the future either. Instead, they are keeping track of their e-mail list in MS Outlook in a folder called "LIST" (or something like that).

So basically I need to send a HTML e-mail (with css, images and text) from within the CMS through MS Outlook. So I figured out I needed to use "mailto:LIST" to make the e-mail open in MS Outlook. But how can I make the body of the e-mail display a HTML message?

I thought of letting the company fill in the text of their e-mail in the CMS, when clicking the "send" button it would generate a PHP page on the server that shows the page that needs to be show in the e-mail body. But how do I send that page to MS Outlook?

I hope you understand what I mean.

Posted: Fri Apr 15, 2005 10:47 am
by Chris Corbyn
I've had this problem in the past...

It can't be done with mailto: - but it can with mail() [as you know]

Is Outlook running on a microsoft exchange server?

If so... they probably have access to a GAL (Global Address List)... I'd be surprised if nobody has written a class for working with Microsft Exchange GAL's :?

Posted: Sat Apr 16, 2005 4:24 am
by bytte
Okay, thanks for the information.
It is running on an exchange server. So I might try searching for some of these classes.

Thanks