HTML e-mail with PHP, through outlook
Posted: Fri Apr 15, 2005 5:52 am
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.
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.