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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:08:37+00:00 2026-05-25T06:08:37+00:00

I’m trying to send an HTML formatted e-mail with one attachment. I’ve received the

  • 0

I’m trying to send an HTML formatted e-mail with one attachment. I’ve received the e-mail, and the attachment is there, but the e-mail client does not show the formatted HTML. Instead, it shows the HTML as: <html><p>Header etc. Below is the original e-mail (dump from Gmail, made anonymous):

Delivered-To: test@testnet.com
Received: by 10.151.41.4 with SMTP id t4cs11883ybj;
        Thu, 1 Sep 2011 03:39:49 -0700 (PDT)
Received: by 10.213.32.12 with SMTP id a12mr14455ebd.25.1314873588419;
        Thu, 01 Sep 2011 03:39:48 -0700 (PDT)
Return-Path: <myaccount@server46.emailerserver.nl>
Received: from server46.emailerserver.nl (server46.emailerserver.nl [91.94.224.162])
        by mx.google.com with ESMTPS id i29si371474eei.99.2011.09.01.03.39.47
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 01 Sep 2011 03:39:47 -0700 (PDT)
Received-SPF: pass (google.com: best guess record for domain of myaccount@server46.emailerserver.nl designates 91.94.224.162 as permitted sender) client-ip=91.94.224.162;
Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of myaccount@server46.emailerserver.nl designates 91.94.224.162 as permitted sender) smtp.mail=myaccount@server46.emailerserver.nl
Received: from server46.emailerserver.nl (localhost [127.0.0.1])
    by server46.emailerserver.nl (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p81Adk3n031256
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
    for <test@testnet.com>; Thu, 1 Sep 2011 12:39:46 +0200
Received: (from myaccount@localhost)
    by server46.emailerserver.nl (8.14.3/8.14.3/Submit) id p81Adk6H031255;
    Thu, 1 Sep 2011 12:39:46 +0200
Date: Thu, 1 Sep 2011 12:39:46 +0200
Message-Id: <201109011039.p81Adk6H031255@server46.emailerserver.nl>
To: test@testnet.com
Subject: easyfit - ref: Giling, Monique
X-PHP-Script: www.testserver.nl/emailer/upload2.php for 214.84.68.162
From: "sender@mynet.com" <sender@mynet.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="5a9be80f0926fcc0a9903df316874b01"
Content-Disposition:  attachment
Content-type: text/html; charset="iso-8859-1"
X-Virus-Scanned: by amavisd-new


This is a multi-part message in MIME format.

--5a9be80f0926fcc0a9903df316874b01
Content-Transfer-Encoding: 7bit

<html><head></head><body><h2>easyfit bestelling</h2><p><i>Datum: donderdag 1 september 2011</i></p><h3><p>Van</p></h3><p>TEST ()<br>12<br>1<br>1, 1<br>1<br>sender@mynet.com<br></p><p><h3>Bestelling</h3></p><table><tr><td width="250" colspan="2"><b>Indivisual (R)</b></td><td width="250" colspan="2"><b>Indivisual (L)</b></td></tr><tr><td><i>Materiaal</i></td><td>Silicone hydrogel</td><td><i>Materiaal</i></td><td>Silicone hydrogel</td></tr><tr><td><i>Radius</i></td><td>8,30</td><td><i>Radius</i></td><td>8,30</td></tr><tr><td><i>Sterkte</i></td><td>+1,00</td><td><i>Sterkte</i></td><td>+1,00</td></tr><tr><td><i>Diameter</i></td><td>14,00</td><td><i>Diameter</i></td><td>14,00</td></tr><tr><td><i>Aantal</i></td><td>1 (3 maanden)</td><td><i>Aantal</i></td><td>1 (3 maanden)</td></tr></tr></table><p>Referentie: Giling, Monique<br>Opmerkingen: asdsd<br></p><br><br><br><p><i>------------------------------------<br>easyfit 2.620 / ComputerCode=43C3-427F-4457-35F6-3F0D / OrderId=7a797654-58a1-4!
 7f9-bd66-417562423de6</i></p></body></html>
--5a9be80f0926fcc0a9903df316874b01
Content-Type: application/octet-stream; name=MenOrder.xml;
Content-Transfer-Encoding: base64
Content-disposition: attachment

PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8IS0tR2VuZXJhdGVkIGJ5IGVhc3lmaXQgdmVyc2lvbiAy
LjYyMCBvbiAxLTktMjAxMSAxMjozOTo0NS0tPg0KPCEtLUNvbXB1dGVyIGNvZGU6IDQzQzMtNDI3
Ri00NDU3LTM1RjYtM0YwRCwgT1M6IE1pY3Jvc29mdCBXaW5kb3dzIE5UIDUuMS4yNjAwIFNlcnZp
Y2UgUGFjayAzIC0tPg0KPCEtLUludm9pY2UgdG86IDEyLCAxLCAxLCAxLS0+DQo8TWVzc2FnZUhl
YWRlciBkMXAxOm5vTmFtZXNwYWNlU2NoZW1hTG9jYXRpb249Imh0dHA6Ly93d3cubmtsZWFzeWZp
dC5ubC94c2QvTUVOQnVpbGQwMTQueHNkIiB4bWxuczpkMXAxPSJodHRwOi8vd3d3LnczLm9yZy8y
MDAxL1hNTFNjaGVtYS1pbnN0YW5jZSI+DQogIDxNaElkPjcxMjcyNDEwPC9NaElkPg0KICA8TWhE
YXRlPjIwMTEtMDktMDE8L01oRGF0ZT4NCiAgPE1oVGltZT4xMjozOTo0NDwvTWhUaW1lPg0KICA8
TWhGcm9tPjEyMzQ1NjwvTWhGcm9tPg0KICA8TWhUbz42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wrong with this e-mail?

  • 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-25T06:08:37+00:00Added an answer on May 25, 2026 at 6:08 am

    You have two Content-Type headers, the first is the correct one, it tells that the body contains multiple parts.

    The second should be on the HTML part:

    Content-Transfer-Encoding: 7bit
    Content-type: text/html; charset="iso-8859-1"
    
    <html>…
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I want to count how many characters a certain string has in PHP, but
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this

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.