다음 예는 기본 이벤트 미리 알림 메시지 형식을 보여 줍니다.
1 EVENT REMINDER 2 ~~MIME-Version: 1.0%N 3 ~~Content-Type: text/plain; charset=%s%N 4 ~~Content-Transfer-Encoding: %x%N%N 5 Summary: %s%N 6 Start: %(%a, %d %b %Y %I:%M %p)B%N 7 End: (%a, %d %b %Y %I:%M %p)E%N 8 Location: %L%N%N 9 Description: %N%d%N |
이 예의 각 행에 대한 설명은 다음과 같습니다.
1행은 메시지 제목입니다.
~~으로 시작하는 2행은 MIME 래퍼 행임을 나타냅니다. 즉, 특수 문자 시퀀스 교체는 이벤트나 태스크보다는 내부 MIME 객체와 관련됩니다. 특수 시퀀스 %N은 줄바꿈입니다. 제목 행을 제외한 모든 행에는 특별한 새 행 시퀀스가 필요합니다.
3행도 MIME 헤더 행입니다. 여기에 포함된 특수 문자 시퀀스 %s는 메일로 보내는 이벤트나 태스크와 관련된 문자 집합으로 대체됩니다.
4행은 마지막 MIME 행이며, %x는 이 메시지에 필요한 내용 전송 인코딩 문자열입니다.
5행은 이벤트 요약이며 %s를 사용하여 이벤트 요약을 호출합니다.
6행은 이벤트 시작 시간입니다. 특수 문자 시퀀스 %B에 하위 형식 문자열을 사용합니다. 자세한 내용은 날짜 하위 형식 지정을 참조하십시오.
7행은 이벤트 종료 시간입니다.
8행은 이벤트 위치입니다.
9행은 이벤트에 대한 설명입니다.
다음 예는 위의 예에 의해 생성된 알림 메시지와 비슷합니다.
From: jsmith@sesta.com (James Smith) Date: Wed, 15 Nov 1999 19:13:49 To: jsmith@sesta.com Subject: EVENT REMINDER MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Summary: smtp_rig event 1 Start: Tues, 16 Nov 1999 02:00 PM End: Tues, 16 Nov 1999 03:00 PM Location: Green Conference Room Description: This is the description for a randomly generated event. |