Skip to content

Instantly share code, notes, and snippets.

@simmogs
Created September 4, 2012 16:01
Show Gist options
  • Save simmogs/3622783 to your computer and use it in GitHub Desktop.
Save simmogs/3622783 to your computer and use it in GitHub Desktop.
Error with mail replacing attachments
Received: from [192.168.1.200] (helo=blah) by accept with esmtp (Exim 4.72) (envelope-from <[email protected]>) id 1T4QaS-0000tn-F2 for [email protected]; Thu, 23 Aug 2012 07:08:12 +0100
Date: Thu, 30 Aug 2012 15:38:54 +0100
From: [email protected]
To: [email protected]
Message-ID: <[email protected]>
Subject: test3
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_NextPart_000_0041_01CD86C5.92F54800";
charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac2GvR81BYetKvAXQkSS3cY6yxodQA==
Content-Language: en-gb
--
Date: Tue, 04 Sep 2012 15:00:01 +0100
Mime-Version: 1.0
Content-Type: image/png;
charset=UTF-8;
filename=logo.png
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=logo.png
Content-ID: <[email protected]>
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAANMElEQVRo3u2a
Received: from [192.168.1.200] (helo=blah)
by accept with esmtp (Exim 4.72)
(envelope-from <[email protected]>)
id 1T4QaS-0000tn-F2
for [email protected]; Thu, 23 Aug 2012 07:08:12 +0100
From: <[email protected]>
To: <[email protected]>
Subject: test3
Date: Thu, 30 Aug 2012 15:38:54 +0100
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_NextPart_000_0041_01CD86C5.92F54800"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac2GvR81BYetKvAXQkSS3cY6yxodQA==
Content-Language: en-gb
X-tfe-messageid=1T4QaS-0000tn-F2
This is a multipart message in MIME format.
------=_NextPart_000_0041_01CD86C5.92F54800
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
One attachments - should work
------=_NextPart_000_0041_01CD86C5.92F54800
Content-Type: image/png;
name="logo.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="logo.png"
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment