Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8038279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:11:05+00:00 2026-06-05T03:11:05+00:00

To solve a problem where SMTP servers won’t display attachments with emails that have

  • 0

To solve a problem where SMTP servers won’t display attachments with emails that have content-type set to multipart/alternative, I’ve had to set the email to multipart/mixed, but this has the unfortunate side-effect of displaying both the plain text and the HTML, which create pointless duplication and is unsightly to the user.

With multipart/mixed set, is there any way to hide ‘text/plain’ (without removing it as it’s going to be used by a parser) from the user and just display the HTML? I am referring only to hiding it for cilent programs (such as hotmail, yahoo, etc) and not IMAP etc where the user can see everything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:11:07+00:00Added an answer on June 5, 2026 at 3:11 am

    If you don’t want the text displayed to the user ever, then including it as part of a multipart/mixed message seems like the wrong thing, as the contents of your text/plain part is more correctly metadata. I’d probably put it in a header or something if you can.

    If it must be part of the multipart message, I’d try testing using a custom mime-type that a mail client doesn’t know about, and see if that causes the section in question to be hidden. This feels a bit hacky, but it could potentially work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to solve a problem with templatetags. I have two templatetags: @register.inclusion_tag('directory/_alphabet.html') def alphabet_list(names):
I have a probably quite simple to solve problem. I'm trying to parse this
Hello stackpeople! I have 2 things to solve and display the results online in
I am learning dynamic programming and have attempted solve Problem 15 of Project Euler
i have a problem about conversion of type using overload of operator, here i
Recently, I tried to solve Problem 23 of Project Euler . For that I
We have a batch program that incorporates JavaMail 1.2 that sends emails. In our
Note that I don't have a problem and I'm not looking for another way
I have to solve problem with the database connection. I checked the ip address
I have most bizarre and probably simple to solve problem but it's driving me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.