Sun Java System Messaging Server 6.3 管理指南

C.2.2.1 电子邮件消息处理样例

例如,使用通道的默认设置的电子邮件消息:


From: John Doe 
To: 1234567@sms.siroe.com
Subject: Today’s meeting
Date: Fri, 26 March 2001 08:17

The staff meeting is at 14:30 today in the big conference room.

将转换成 SMS 消息:

jdoe@siroe.com (Today’s meeting) The staff meeting is at 14:30 today in the big conference room.

如下所示的另一组选项设置:


CONTENT_PREFIX=Msg:
FROM_FORMAT=From:${pa}
SUBJECT_FORMAT=Subj:$s

将会生成以下 SMS 消息:

From:John Doe Subj:Today’s meeting Msg:The staff meeting is at 14:30 today in the big conference room.