email - Hide text/plain from user in SMTP -
to solve problem smtp servers won't display attachments emails have content-type set multipart/alternative, i've had set email multipart/mixed, has unfortunate side-effect of displaying both plain text , html, create pointless duplication , unsightly user.
with multipart/mixed set, there way hide 'text/plain' (without removing it's going used parser) user , display html? referring hiding cilent programs (such hotmail, yahoo, etc) , not imap etc user can see everything.
if don't want text displayed user ever, including part of multipart/mixed message seems wrong thing, contents of text/plain part more correctly metadata. i'd put in header or if can.
if must part of multipart message, i'd try testing using custom mime-type mail client doesn't know about, , see if causes section in question hidden. feels bit hacky, potentially work.
Comments
Post a Comment