I would like to send a newsletter stored in a database. The core content is stored with the field name of letter. I would like to be able to send this letter using an image has a header, regardless of browser type, and a HTML formatted text newsletter.
How would PHP come into plat when using the mail function?
So the letter is stored in the db?
PHP would come in by using the mail() function, and I'm sure you could use print() or echo to display the image, and definently for HTML formatting e.g.
echo "<img src=\"images/headerImage.jpg\" />";
etc...
But would the image file come as an attachment or would it be inline. Using PERL, sendind an image using a certain MIME type will send an image to a MAC email inbox as an email attachment where the same email attachment would show up inline on a PC email inbox. Do the same restrictions apply with PHP, or is there am easier way?