PHP Multipart Alternative with Attachment with Apple Mail
Discussion in 'Mac Programming' started by Darkroom, Aug 29,
2008.    1. Guest       Dec 15, 2006     Montréal, Canada
this code is samples of edited AquaticPrime.PHP and Config.PHP.
for those not familiar with Aquatic Prime, the AquaticPrime.php
requires Config.php.      essentially i'm trying to create a
multipart/alternative email with     the multipart/mixed
attachment... it works fine except Apple's Mail     app doesn't
recognize the multipart/alternative portion of the script
and only displays the HTML version (without giving me the option
of     viewing the next alternative). oddly, if i list the
Content-Type:     text/plain after Content-Type: text/html, it
will only show a text     email in Mail, again without seeing
the next alternative. of course     if i view the raw source of
the email, everything shows up as it      i know Apple's Mail
program is kinda sketchy in Leopard, and i know     i'm not a
wizard at PHP, but according to o