Re: Email Handling and Manipulation Question 9

9 views
Skip to first unread message

Dan Kelly

unread,
Jul 18, 2011, 9:39:56 AM7/18/11
to Zend Certification Study Group
Consider the following e-mail:
From: John Coggeshall <jo...@php.net>
To: Joe User <j...@example.comt>
Subject: Hello from John!
Date: Wed, 20 Dec 2004 20:18:47 -0400
Message-ID: <12...@local.machine.example>
Hello, How are you?


What headers must be added to this e-mail to make it a MIME e-mail?
(Select all that apply)

A. MIME-Version
B. Content-Disposition
C. Content-Type
D. Content-Transfer-Encoding
E. Content-ID

Seal Trip

unread,
Jul 18, 2011, 8:56:54 PM7/18/11
to zend-certificat...@googlegroups.com
D. Content-Transfer-Encoding
A. MIME-Version
C. Content-Type

Dan Kelly

unread,
Jul 19, 2011, 1:15:44 PM7/19/11
to Zend Certification Study Group
To create a valid MIME e-mail from the given plain-text message, the
correct answers are A,
C and D. A MIME e-mail must have the MIME-Version header at the start
of the e-mail, while
each segment (including the “root” segment) must sport both a Content-
Type and Content-
Transfer-Encoding header associated with it. The two other headers
mentioned in the answers
above are optional: Content-Disposition is used to indicate how the
segment should be
displayed (for instance, if it should be represented as an attachment)
and Content-ID is a
unique identifier optionally assigned to the content in the segment.

On Jul 18, 9:39 am, Dan Kelly <dankelly2...@gmail.com> wrote:
> Consider the following e-mail:
> From: John Coggeshall <j...@php.net>
Reply all
Reply to author
Forward
0 new messages