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 6210863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:14:13+00:00 2026-05-24T06:14:13+00:00

After mime parsing I am getting email body with duplicate entry(plain n html) and

  • 0

After mime parsing I am getting email body with duplicate entry(plain n html) and wondering how I can get the true message body. I am using php/mysql. Is there anything in php string or mysql to solve this?
email message body Sample:

testing body from hotmail. testing word can be repeated.



testing body from hotmail. testing word can be repeated.
  • 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-05-24T06:14:15+00:00Added an answer on May 24, 2026 at 6:14 am

    Ok, so as I said you receive the email in double because you receive it in plain/text and text/html format.

    The best way to read email from pop3 as I found until now is Manuel Lemos POP3 Access

    the email formats ussualy are received in parts, for each type or image

    plain/text:

    ------=_Part_38964_33016848.1312149074828
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable
    email content in text format
    

    text/html:

    ------=_Part_38964_33016848.1312149074828
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable
    email content in html format
    

    you will find in headers the name of the part, that unique identifier

    Content-Type: multipart/alternative; 
                  boundary="----=_Part_38964_33016848.1312149074828"
    

    There isn’t a simple way to get the real plain/text and text/html, they are most likely to be togheter if sent from a public email service. If you send email from your scripts, I don’t think you’ll bother to send that email in double format.

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

Sidebar

Related Questions

It appears that calling Html.RenderAction in Asp.Net MVC2 apps can alter the mime type
With actions such as :show and :edit , I can just http GET them.
I get the following error after moving aspx page to some folder. Error: Unhandled
I'm playing around with SMTP and using email.mime to provide the header structure. For
This is an email sending code mail($ToID,$subject,$urltoemail,$headers); after sending, the user is redirected header(Location:.$_SERVER['SCRIPT_NAME']);
I'm trying to get the URLs for images (all MIME types) in a remote
I followed THIS site on how to send an email using RoR. After running
After reading the Head First Design Patterns book and using a number of other
After the suggestion to use a library for my ajax needs I am going
After reading this question , I was reminded of when I was taught Java

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.