Anatomi sebuah email

Untuk tugas KI kali ini, kita disuruh untuk mengetahui anatomi dari sebuah email. Ya selain utuk ngerjain tugas, sekalian untuk pengetahuan, soalnya kita kan cuma sering make, tapi kadang ga tau isinya.

Untuk tugas kali ini aku coba untuk ngirim email dari teddy_pandu@ymail.com ke tepan09@gmail.com. Email ini isinya text dengan tambahan dua attachment.

Setelah emailnya dikirim, saya buka sent mailnya, kemudian pada email yang sudah dikirim tadi, saya coba liat headernya(dengan cara pilih action, trus pilih show full header). Ini hasilnya :

Header pada sent mail yahoo

Isinya seperti ini :

From Teddy Pandu Tue Mar  9 19:31:04 2010
X-YMail-OSG: yMNm6F0VM1lMhYHNwq5YgPgQw2aoLgG.SKjyf2a6nXGjfNI
GFowwO4kueI91vORx_PXO5z0fq7sds3pgjDedQcmO091Fdl22_oCnc0NU00C
4hT1xq58.JYfjkB89pv0GnKmXzAw4Y7et5zWzkOpWdf4GCtaIbvbf1E_m2Xo
MEB_6tSLMFhuG4fWN.OFEao2o1q_a03ej094bJ0umb44OZkWiGkdoDAJcUnI
iyusKRRk-
Received: from [110.136.155.26] by web59410.mail.ac4.yahoo.com via HTTP; Tue, 09 Mar 2010 19:31:04 PST
X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964
Date: Tue, 9 Mar 2010 19:31:04 -0800 (PST)
From: Teddy Pandu <teddy_pandu@ymail.com>
Subject: tes Email
To: tepan09@gmail.com
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=”0-480619108-1268191864=:74537″
Content-Length: 320533

Nah, lalu saya liat di email google saya, kemudian pada email tersebut saya klik “Show original” seperti pada gambar di bawah

Show Original pada gmail

Kemudian ternyata isi emailnya sangat panjang, tapi akan saya coba pilah-pilah/

Header

Delivered-To: tepan09@gmail.com
Received: by 10.86.76.14 with SMTP id y14cs1324fga;
        Tue, 9 Mar 2010 19:31:08 -0800 (PST)
Received: by 10.224.59.234 with SMTP id m42mr701579qah.20.1268191867248;
        Tue, 09 Mar 2010 19:31:07 -0800 (PST)
Return-Path: <teddy_pandu@ymail.com>
Received: from web59410.mail.ac4.yahoo.com (web59410.mail.ac4.yahoo.com [76.13.12.188])
        by mx.google.com with SMTP id 30si10684124qyk.118.2010.03.09.19.31.05;
        Tue, 09 Mar 2010 19:31:06 -0800 (PST)
Received-SPF: neutral (google.com: 76.13.12.188 is neither permitted nor denied by domain of teddy_pandu@ymail.com) client-ip=76.13.12.188;
Authentication-Results: mx.google.com; spf=neutral (google.com: 76.13.12.188 is neither permitted nor denied by domain of teddy_pandu@ymail.com) smtp.mail=teddy_pandu@ymail.com; dkim=pass (test mode) header.i=@ymail.com
Received: (qmail 74731 invoked by uid 60001); 10 Mar 2010 03:31:05 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1268191865; bh=rF5CmQbwOm01TF9xsLotH4EONfI3QAkcTgRP1oW8w/U=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=JA4VC3twbPmXmaAsN0eQFvB6An0cQQh52UQae4r9q6xbwWbWoCAJIhjPMn6snRFZIogRkB6U3qho9rtE/2SCi8/TpUlBGGULQ/DIzxbCUR+UlinSLM7tOkuyOz7CtuoWPnKUBMFNJQZPrFP7OvuSsly0aGMNrXuNpG7hoh0nHZQ=
DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=ymail.com;
  h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type;
  b=eAZ19UuGaeL0W1vp90fOr67mlmDfSeLbsfd8/pcPV2NHR+/cuCP+VAxCNM4IsImTZFzYRhI09oDM4TQTych5KTlStH1E6gxezBeO7Au10DDgMTzobVDtlbjzOX2JZDPduZV6KUrTzkEgeog+h19DSxHvILJiPu/vKGb/ZyaLxyg=;
Message-ID: <192885.74537.qm@web59410.mail.ac4.yahoo.com>
X-YMail-OSG: yMNm6F0VM1lMhYHNwq5YgPgQw2aoLgG.SKjyf2a6nXGjfNI
 GFowwO4kueI91vORx_PXO5z0fq7sds3pgjDedQcmO091Fdl22_oCnc0NU00C
 4hT1xq58.JYfjkB89pv0GnKmXzAw4Y7et5zWzkOpWdf4GCtaIbvbf1E_m2Xo
 MEB_6tSLMFhuG4fWN.OFEao2o1q_a03ej094bJ0umb44OZkWiGkdoDAJcUnI
 iyusKRRk-
Received: from [110.136.155.26] by web59410.mail.ac4.yahoo.com via HTTP; Tue, 09 Mar 2010 19:31:04 PST
X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964
Date: Tue, 9 Mar 2010 19:31:04 -0800 (PST)
From: Teddy Pandu <teddy_pandu@ymail.com>
Subject: tes Email
To: tepan09@gmail.com

Dari header ini kita bisa lihat dari siapa, subject nya apa, dll.


Body

Nah, saya agak bingung bagaimana cara menampilkan bodynya, panjang banget soalnya! Tapi pada body ini berisi isi termasuk attachment nya. Ini isi body nya. Pada bagian ini kita akan bisa melihat isi dari email yaitu :

Ini tes email untuk mengetahui anatomi email. Email berisi dua attachment, pdf dan jpg.

Isi body :

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0-480619108-1268191864=:74537"

--0-480619108-1268191864=:74537
Content-Type: multipart/alternative; boundary="0-555102136-1268191864=:74537"

--0-555102136-1268191864=:74537
Content-Type: text/plain; charset=us-ascii

Ini tes email untuk mengetahui anatomi email. Email berisi dua attachment, pdf dan jpg.

--0-555102136-1268191864=:74537
Content-Type: text/html; charset=us-ascii

Kemudian attachment pertama : Contoh-MM1.pdf. Attachment nya di encoding dengan base 64.

Berikut bodynya (tanpa bagian yang berisi encoding):

--0-555102136-1268191864=:74537--
--0-480619108-1268191864=:74537
Content-Type: application/pdf; name="Contoh-MM1.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Contoh-MM1.pdf"

Kemudian attachment kedua :

--0-480619108-1268191864=:74537
Content-Type: image/jpeg; name="Pedang.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Pedang.jpg"

Untuk lebih lengkapnya(termasuk bagian encoding attachment) bisa dilihat di sini

Anatomi email

From Teddy Pandu Tue Mar  9 19:31:04 2010

X-YMail-OSG: yMNm6F0VM1lMhYHNwq5YgPgQw2aoLgG.SKjyf2a6nXGjfNI

GFowwO4kueI91vORx_PXO5z0fq7sds3pgjDedQcmO091Fdl22_oCnc0NU00C

4hT1xq58.JYfjkB89pv0GnKmXzAw4Y7et5zWzkOpWdf4GCtaIbvbf1E_m2Xo

MEB_6tSLMFhuG4fWN.OFEao2o1q_a03ej094bJ0umb44OZkWiGkdoDAJcUnI

iyusKRRk-

Received: from [110.136.155.26] by web59410.mail.ac4.yahoo.com via HTTP; Tue, 09 Mar 2010 19:31:04 PST

X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964

Date: Tue, 9 Mar 2010 19:31:04 -0800 (PST)

From: Teddy Pandu <teddy_pandu@ymail.com>

Subject: tes Email

To: tepan09@gmail.com

MIME-Version: 1.0

Content-Type: multipart/mixed; boundary=”0-480619108-1268191864=:74537″

Content-Length: 320533

6 Komentar »

  1. miftah said

    info yang menarik Gan!

  2. miftah said

    info yg menarik Gan!

  3. ufy said

    aku kurang ngerti..

  4. mitha said

    Q kurang ngerti ..
    ne….

    maksud Q bagian2 dr anatomi email…

  5. […] https://tepan.wordpress.com/2010/03/10/anatomi-sebuah-email/ […]

RSS feed for comments on this post · TrackBack URI

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: