Multipart (MIME) email with PHP: Creating the text and HTML parts simultaneously
What feels most "natural" to me would be some sort of simple package where I can create the two parts simultaneously, rather than treating the text part as an afterthought.
This certainly feels like one of those things that surely must have already been written. I'd rather not re-invent the wheel, although admittedly I've already started to roll my own solution, with a few functions that use a two-element array with keys "text" and "html".
I'm trying hard to not make this discussion about the merits of PHP's mail() function vs. PEAR's Mail package vs. PHPMailer. I do realize there are multiple ways to send off the mail once it's crafted; my question is about building it in the first place.
Any ideas?
-
2WDHost -
[ 1 ] Thanks - 2 replies
{{ DiscussionBoard.errors[9198723].message }}-
valvednd -
[ 1 ] Thanks - 1 reply
{{ DiscussionBoard.errors[9199055].message }}-
David Beroff -
Thanks
SignaturePut MY voice on YOUR video: AwesomeAmericanAudio.com{{ DiscussionBoard.errors[9199060].message }} -
-
-
David Beroff -
Thanks
SignaturePut MY voice on YOUR video: AwesomeAmericanAudio.com{{ DiscussionBoard.errors[9199056].message }} -
-