Home > Uncategorized > Anatomi E-mail

Anatomi E-mail

Saya mengirim email dari akun gmail saya ke students.if dengan dua attachment, sebuah file .txt dan sebuah gambar .jpg. Kemudian saya buka inbox students.if, klik view source.

X-Original-To: if17055[at]students.if.itb.ac.id
Delivered-To: if17055[at]students.if.itb.ac.id
Received: from mx1.itb.ac.id (mx1.itb.ac.id [167.205.23.6])
by mail.students.if.itb.ac.id (Postfix) with ESMTP id 21ED3ACA03
for ; Thu, 11 Mar 2010 08:33:11 +0700 (WIT)
Received: from mx1.itb.ac.id (localhost [IPv6:::1])
by mx1.itb.ac.id (Postfix) with ESMTP id 5770FB690D
for ; Thu, 11 Mar 2010 08:08:18 +0700 (WIT)
Received: from mail-pw0-f43.google.com (mail-pw0-f43.google.com [209.85.160.43])
by mx1.itb.ac.id (Postfix) with ESMTP id 59427B934B
for ; Thu, 11 Mar 2010 07:03:33 +0700 (WIT)
Received: by pwi7 with SMTP id 7so15725194pwi.2
for ; Wed, 10 Mar 2010 16:03:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:date:message-id:subject
:from:to:content-type;
bh=uXt9PTde2zEnDGXlnHV4ueEHx4DuA6y+di26Scw4oRI=;
b=rSzAMMQ43uKapFaYbq2HMpTKGI12q45Qs504EuxRoFld1v8dwKPaDIFKgsVPTL9djy
V6tNL3O7MJmPXXJh+9BAWtRSDuvFSTFpxrz115OL6ZXv811rhGeVJPw9ppT2CfsdygbG
8K5N7amfaOuXeWFrtEKK+AY/17Zx/PBsRV93U=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:date:message-id:subject:from:to:content-type;
b=IhOuyV+QEIkOL2vXdWT2E6w43SaQH9qSpErChfVkH65HjKwokE6U5h3iybgxTX/7VX
/13rWmHm5BM6x6iv172ydaE6hUCi57vfL3sk/azX92ND5t7ghFZTfNa4QiAUmppOJAqY
/9SXXHc8jBBhMOvqg8ujUxLrQxFycWH0IyXxo=
MIME-Version: 1.0
Received: by 10.142.248.9 with SMTP id v9mr887157wfh.308.1268265808825; Wed,
10 Mar 2010 16:03:28 -0800 (PST)
Date: Thu, 11 Mar 2010 07:03:28 +0700
Message-ID:
Subject: anatomi email
From: Kuncoro Dwi Atmojo
To: if17055[at]students.if.itb.ac.id
Content-Type: multipart/mixed; boundary=00504502c9fc0410f704817b2545

–00504502c9fc0410f704817b2545

Content-Type: multipart/alternative; boundary=00504502c9fc0410eb04817b2543

–00504502c9fc0410eb04817b2543
Content-Type: text/plain; charset=ISO-8859-1
Assalamu’alaikum,
tolong diliat anatomi e-mailnya ya
makasih..
–00504502c9fc0410eb04817b2543
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Assalamu’alaikum,=A0<div>tolong diliat anatomi e-mailnya ya<div>makasih=
..</div></div>
–00504502c9fc0410eb04817b2543–
–00504502c9fc0410f704817b2545

Content-Type: text/plain; charset=US-ASCII; name=”jadwal.txt”
Content-Disposition: attachment; filename=”jadwal.txt”
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g6msog1w1

U2VuaW4gTVNESQ0KU2VsYXNhIEtJDQpSYWJ1IE1hblBybw0KS2FtaXMgRWt0ZWsNCkp1bWF0IEtJ
DQo9PQ0Kc2VuaW4NCjkgTVNESQ0KMTAgTVNESQ0Kc2VsYXNhDQo3IEtJDQo4IEtJDQoxMCBJTUsN
CjExIElNSw0KMTQgQUVJDQoxNSBBRUkNCnJhYnUNCjcgTWFuUHJvDQo4IE1hblBybw0KOSBNU0RJ
DQprYW1pcw0KNyBFa1Rlaw0KOCBFa1Rlaw0KMTAgSU1LDQoxMSBLSQ0KMTUNCjE2DQpqdW1hdA0K
NyBNYW5Qcm8NCg0KMTMgU29zaWYNCjE0IFNvc2lm

–00504502c9fc0410f704817b2545
Content-Type: image/jpeg; name=”becak malioboro.jpg”
Content-Disposition: attachment; filename=”becak malioboro.jpg”
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g6msma2a0

/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEP
ERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4e
Hh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh7/wAARCAHFAlwDASIA
PANJANGBANGETLAHPOKOKNYA
VxOIyMkr05z+Z1ms1IuN1PokN9kkolEisGDHJXGBn/p9NBNbXM9W08SCF4vwkMTg6zWarGXC/mnP
KDtyt8dPLTVirPFKvVIG7vk55P31C2/IEpr7LT0uKemHSBEnYDHv31ms1vad61lTa/KGpJSGZVUB
FBKr6DXK0fxKgztjIOAPbWazWuR3CVR/SSkUkjTpPUyHLu2TrmmQoAOBrNZongK9f//Z
–00504502c9fc0410f704817b2545–

E-mail ini terbagi menjadi tiga bagian, header, body, dan attachment (jika terdapat attachment).

Header

X-Original-To: if17055[at]students.if.itb.ac.id
Delivered-To: if17055[at]students.if.itb.ac.id
Received: from mx1.itb.ac.id (mx1.itb.ac.id [167.205.23.6])
by mail.students.if.itb.ac.id (Postfix) with ESMTP id 21ED3ACA03
for ; Thu, 11 Mar 2010 08:33:11 +0700 (WIT)
Received: from mx1.itb.ac.id (localhost [IPv6:::1])
by mx1.itb.ac.id (Postfix) with ESMTP id 5770FB690D
for ; Thu, 11 Mar 2010 08:08:18 +0700 (WIT)
Received: from mail-pw0-f43.google.com (mail-pw0-f43.google.com [209.85.160.43])
by mx1.itb.ac.id (Postfix) with ESMTP id 59427B934B
for ; Thu, 11 Mar 2010 07:03:33 +0700 (WIT)
Received: by pwi7 with SMTP id 7so15725194pwi.2
for ; Wed, 10 Mar 2010 16:03:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:date:message-id:subject
:from:to:content-type;
bh=uXt9PTde2zEnDGXlnHV4ueEHx4DuA6y+di26Scw4oRI=;
b=rSzAMMQ43uKapFaYbq2HMpTKGI12q45Qs504EuxRoFld1v8dwKPaDIFKgsVPTL9djy
V6tNL3O7MJmPXXJh+9BAWtRSDuvFSTFpxrz115OL6ZXv811rhGeVJPw9ppT2CfsdygbG
8K5N7amfaOuXeWFrtEKK+AY/17Zx/PBsRV93U=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:date:message-id:subject:from:to:content-type;
b=IhOuyV+QEIkOL2vXdWT2E6w43SaQH9qSpErChfVkH65HjKwokE6U5h3iybgxTX/7VX
/13rWmHm5BM6x6iv172ydaE6hUCi57vfL3sk/azX92ND5t7ghFZTfNa4QiAUmppOJAqY
/9SXXHc8jBBhMOvqg8ujUxLrQxFycWH0IyXxo=
MIME-Version: 1.0
Received: by 10.142.248.9 with SMTP id v9mr887157wfh.308.1268265808825; Wed,
10 Mar 2010 16:03:28 -0800 (PST)
Date: Thu, 11 Mar 2010 07:03:28 +0700
Message-ID:
Subject: anatomi email
From: Kuncoro Dwi Atmojo
To: if17055[at]students.if.itb.ac.id
Content-Type: multipart/mixed; boundary=00504502c9fc0410f704817b2545

–00504502c9fc0410f704817b2545

Pada bagian ini terdapat Return-Path:, Delivered-To:, Received:, Date:, Message-ID:, Subject:, From:,To: , Content-Type:. Return-Path merupakan alamat email tujuan jika e-mail tersebut dibalas. Delivered-To merupakan alamat terkirimnya e-mail ini. Received: menjelaskan perjalanan email tersebut dari (from) dan diterima oleh (by). Dalam hal ini terlihat e-mail dari kuncoro.atmojo[at]gmail.com diterima oleh pwi7, kemudian e-mail di pwi7 dikirim oleh mail-pw0-f43.google.com ke mx1.itb.ac.id, dari mx1.itb.ac.id diteruskan ke postfix, kemudian diterima if17055[at]students.if.itb.ac.id. Date: menjelaskan tanggal dan waktu diterimanya e-mail. Message-ID: menyatakan identitas unik e-mail tersebut. Subject: menjelaskan subjek e-mail. From: menjelaskan pengirim e-mail. To: menjelaskan tujuan e-mail. Content-Type: menjelaskan tipe konten, kemudian terdapat boundary yang menyatakan pembatas antar bagian e-mail.

Body

Content-Type: multipart/alternative; boundary=00504502c9fc0410eb04817b2543
–00504502c9fc0410eb04817b2543
Content-Type: text/plain; charset=ISO-8859-1
Assalamu’alaikum,
tolong diliat anatomi e-mailnya ya
makasih..
–00504502c9fc0410eb04817b2543
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Assalamu’alaikum,=A0<div>tolong diliat anatomi e-mailnya ya<div>makasih=
..</div></div>
–00504502c9fc0410eb04817b2543–

Content-Type: multipart/alternative; boundary=00504502c9fc0410eb04817b2543
–00504502c9fc0410eb04817b2543Content-Type: text/plain; charset=ISO-8859-1
Assalamu’alaikum,tolong diliat anatomi e-mailnya yamakasih..
–00504502c9fc0410eb04817b2543Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printable
Assalamu’alaikum,=A0<div>tolong diliat anatomi e-mailnya ya<div>makasih=..</div></div>
–00504502c9fc0410eb04817b2543–

Body merupakan isi dari e-mail yang dikirim. Pada e-mail ini body dipisahkan oleh boundary –00504502c9fc0410eb04817b2543 , diantara boundary tersebut adalah body e-mail.

Attachment

–00504502c9fc0410f704817b2545
Content-Type: text/plain; charset=US-ASCII; name=”jadwal.txt”
Content-Disposition: attachment; filename=”jadwal.txt”
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g6msog1w1

U2VuaW4gTVNESQ0KU2VsYXNhIEtJDQpSYWJ1IE1hblBybw0KS2FtaXMgRWt0ZWsNCkp1bWF0IEtJ
DQo9PQ0Kc2VuaW4NCjkgTVNESQ0KMTAgTVNESQ0Kc2VsYXNhDQo3IEtJDQo4IEtJDQoxMCBJTUsN
CjExIElNSw0KMTQgQUVJDQoxNSBBRUkNCnJhYnUNCjcgTWFuUHJvDQo4IE1hblBybw0KOSBNU0RJ
DQprYW1pcw0KNyBFa1Rlaw0KOCBFa1Rlaw0KMTAgSU1LDQoxMSBLSQ0KMTUNCjE2DQpqdW1hdA0K
NyBNYW5Qcm8NCg0KMTMgU29zaWYNCjE0IFNvc2lm
–00504502c9fc0410f704817b2545
Content-Type: image/jpeg; name=”becak malioboro.jpg”
Content-Disposition: attachment; filename=”becak malioboro.jpg”
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g6msma2a0

/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEP
ERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4e
Hh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh7/wAARCAHFAlwDASIA
PANJANGBANGETLAHPOKOKNYA
VxOIyMkr05z+Z1ms1IuN1PokN9kkolEisGDHJXGBn/p9NBNbXM9W08SCF4vwkMTg6zWarGXC/mnP
KDtyt8dPLTVirPFKvVIG7vk55P31C2/IEpr7LT0uKemHSBEnYDHv31ms1vad61lTa/KGpJSGZVUB
FBKr6DXK0fxKgztjIOAPbWazWuR3CVR/SSkUkjTpPUyHLu2TrmmQoAOBrNZongK9f//Z
–00504502c9fc0410f704817b2545–

Terdapat dua attachment pada e-mail ini, tiap attachment memiliki header yang menjelaskan tipe konten, encoding yang digunakan dan nama file. Terlihat attachment pertama merupakan text/plain, attachment kedua merupakan image/jpeg. Encoding yang digunakan adalah base64. Header attachment dan isi attachment dipisahkan oleh sebuah baris kosong (sebuah enter). Antara kedua attachment dan antara attachment pertama dengan body terdapat boundary –00504502c9fc0410f704817b2545.

Base64

Salah satu penjelasan mengenai base64 terdapat di wikipedia. Intinya adalah mengubah tiap karakter menjadi 8 bit biner dari kode ASCIInya. Kemudian mengelompokkannya menjadi masing-masing 6bit. Maksimum kemungkinan untuk 6bit biner adalah 64 kombinasi. Tiap 6bit biner tersebut dikonversikan menjadi kode base64 (terdapat 64 kode base64, sesuai dengan jumlah kombinasi yang mungkin dari 6bit biner). 0-25 dikodekan menjadi A-Z, 26-51 dikodekan menjadi a-z, 52-61 dikodekan menjadi 0-9, 62 dikodekan dengan +, 63 dikodekan dengan  /

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: