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.
HTML e-mail with PHP, through outlook
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
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
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