Back to index

d-push  2.0
mapimapping.php
Go to the documentation of this file.
00001 <?php
00002 /***********************************************
00003 * File      :   mapimapping.php
00004 * Project   :   Z-Push
00005 * Descr     :
00006 *
00007 * Created   :   29.04.2011
00008 *
00009 * Copyright 2007 - 2011 Zarafa Deutschland GmbH
00010 *
00011 * This program is free software: you can redistribute it and/or modify
00012 * it under the terms of the GNU Affero General Public License, version 3,
00013 * as published by the Free Software Foundation with the following additional
00014 * term according to sec. 7:
00015 *
00016 * According to sec. 7 of the GNU Affero General Public License, version 3,
00017 * the terms of the AGPL are supplemented with the following terms:
00018 *
00019 * "Zarafa" is a registered trademark of Zarafa B.V.
00020 * "Z-Push" is a registered trademark of Zarafa Deutschland GmbH
00021 * The licensing of the Program under the AGPL does not imply a trademark license.
00022 * Therefore any rights, title and interest in our trademarks remain entirely with us.
00023 *
00024 * However, if you propagate an unmodified version of the Program you are
00025 * allowed to use the term "Z-Push" to indicate that you distribute the Program.
00026 * Furthermore you may use our trademarks where it is necessary to indicate
00027 * the intended purpose of a product or service provided you use it in accordance
00028 * with honest practices in industrial or commercial matters.
00029 * If you want to propagate modified versions of the Program under the name "Z-Push",
00030 * you may only do so if you have a written permission by Zarafa Deutschland GmbH
00031 * (to acquire a permission please contact Zarafa at trademark@zarafa.com).
00032 *
00033 * This program is distributed in the hope that it will be useful,
00034 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00035 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00036 * GNU Affero General Public License for more details.
00037 *
00038 * You should have received a copy of the GNU Affero General Public License
00039 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00040 *
00041 * Consult LICENSE file for details
00042 ************************************************/
00049 class MAPIMapping {
00055     public static function GetContactMapping() {
00056         return array (
00057             "anniversary"           => PR_WEDDING_ANNIVERSARY,
00058             "assistantname"         => PR_ASSISTANT,
00059             "assistnamephonenumber" => PR_ASSISTANT_TELEPHONE_NUMBER,
00060             "birthday"              => PR_BIRTHDAY,
00061             "body"                  => PR_BODY,
00062             "business2phonenumber"  => PR_BUSINESS2_TELEPHONE_NUMBER,
00063             "businesscity"          => "PT_STRING8:PSETID_Address:0x8046",
00064             "businesscountry"       => "PT_STRING8:PSETID_Address:0x8049",
00065             "businesspostalcode"    => "PT_STRING8:PSETID_Address:0x8048",
00066             "businessstate"         => "PT_STRING8:PSETID_Address:0x8047",
00067             "businessstreet"        => "PT_STRING8:PSETID_Address:0x8045",
00068             "businessfaxnumber"     => PR_BUSINESS_FAX_NUMBER,
00069             "businessphonenumber"   => PR_OFFICE_TELEPHONE_NUMBER,
00070             "carphonenumber"        => PR_CAR_TELEPHONE_NUMBER,
00071             "categories"            => "PT_MV_STRING8:PS_PUBLIC_STRINGS:Keywords",
00072             "children"              => PR_CHILDRENS_NAMES,
00073             "companyname"           => PR_COMPANY_NAME,
00074             "department"            => PR_DEPARTMENT_NAME,
00075             "email1address"         => "PT_STRING8:PSETID_Address:0x8083",
00076             "email2address"         => "PT_STRING8:PSETID_Address:0x8093",
00077             "email3address"         => "PT_STRING8:PSETID_Address:0x80A3",
00078             "fileas"                => "PT_STRING8:PSETID_Address:0x8005",
00079             "firstname"             => PR_GIVEN_NAME,
00080             "home2phonenumber"      => PR_HOME2_TELEPHONE_NUMBER,
00081             "homecity"              => PR_HOME_ADDRESS_CITY,
00082             "homecountry"           => PR_HOME_ADDRESS_COUNTRY,
00083             "homepostalcode"        => PR_HOME_ADDRESS_POSTAL_CODE,
00084             "homestate"             => PR_HOME_ADDRESS_STATE_OR_PROVINCE,
00085             "homestreet"            => PR_HOME_ADDRESS_STREET,
00086             "homefaxnumber"         => PR_HOME_FAX_NUMBER,
00087             "homephonenumber"       => PR_HOME_TELEPHONE_NUMBER,
00088             "jobtitle"              => PR_TITLE,
00089             "lastname"              => PR_SURNAME,
00090             "middlename"            => PR_MIDDLE_NAME,
00091             "mobilephonenumber"     => PR_CELLULAR_TELEPHONE_NUMBER,
00092             "officelocation"        => PR_OFFICE_LOCATION,
00093             "othercity"             => PR_OTHER_ADDRESS_CITY,
00094             "othercountry"          => PR_OTHER_ADDRESS_COUNTRY,
00095             "otherpostalcode"       => PR_OTHER_ADDRESS_POSTAL_CODE,
00096             "otherstate"            => PR_OTHER_ADDRESS_STATE_OR_PROVINCE,
00097             "otherstreet"           => PR_OTHER_ADDRESS_STREET,
00098             "pagernumber"           => PR_PAGER_TELEPHONE_NUMBER,
00099             "radiophonenumber"      => PR_RADIO_TELEPHONE_NUMBER,
00100             "spouse"                => PR_SPOUSE_NAME,
00101             "suffix"                => PR_GENERATION,
00102             "title"                 => PR_DISPLAY_NAME_PREFIX,
00103             "webpage"               => "PT_STRING8:PSETID_Address:0x802b",
00104             "yomicompanyname"       => "PT_STRING8:PSETID_Address:0x802e",
00105             "yomifirstname"         => "PT_STRING8:PSETID_Address:0x802c",
00106             "yomilastname"          => "PT_STRING8:PSETID_Address:0x802d",
00107             "rtf"                   => PR_RTF_COMPRESSED,
00108             // picture
00109             "customerid"            => PR_CUSTOMER_ID,
00110             "governmentid"          => PR_GOVERNMENT_ID_NUMBER,
00111             "imaddress"             => "PT_STRING8:PSETID_Address:0x8062",
00112             "imaddress2"            => "PT_STRING8:PSETID_AirSync:IMAddress2",
00113             "imaddress3"            => "PT_STRING8:PSETID_AirSync:IMAddress3",
00114             "managername"           => PR_MANAGER_NAME,
00115             "companymainphone"      => PR_COMPANY_MAIN_PHONE_NUMBER,
00116             "accountname"           => PR_ACCOUNT,
00117             "nickname"              => PR_NICKNAME,
00118             // mms
00119             );
00120     }
00121 
00122 
00131     public static function GetContactProperties() {
00132         return array (
00133             "haspic"                => "PT_BOOLEAN:PSETID_Address:0x8015",
00134             "emailaddress1"         => "PT_STRING8:PSETID_Address:0x8083",
00135             "emailaddressdname1"    => "PT_STRING8:PSETID_Address:0x8080",
00136             "emailaddressdemail1"   => "PT_STRING8:PSETID_Address:0x8084",
00137             "emailaddresstype1"     => "PT_STRING8:PSETID_Address:0x8082",
00138             "emailaddressentryid1"  => "PT_BINARY:PSETID_Address:0x8085",
00139             "emailaddress2"         => "PT_STRING8:PSETID_Address:0x8093",
00140             "emailaddressdname2"    => "PT_STRING8:PSETID_Address:0x8090",
00141             "emailaddressdemail2"   => "PT_STRING8:PSETID_Address:0x8094",
00142             "emailaddresstype2"     => "PT_STRING8:PSETID_Address:0x8092",
00143             "emailaddressentryid2"  => "PT_BINARY:PSETID_Address:0x8095",
00144             "emailaddress3"         => "PT_STRING8:PSETID_Address:0x80a3",
00145             "emailaddressdname3"    => "PT_STRING8:PSETID_Address:0x80a0",
00146             "emailaddressdemail3"   => "PT_STRING8:PSETID_Address:0x80a4",
00147             "emailaddresstype3"     => "PT_STRING8:PSETID_Address:0x80a2",
00148             "emailaddressentryid3"  => "PT_BINARY:PSETID_Address:0x80a5",
00149             "addressbookmv"         => "PT_MV_LONG:PSETID_Address:0x8028",
00150             "addressbooklong"       => "PT_LONG:PSETID_Address:0x8029",
00151             "displayname"           => PR_DISPLAY_NAME,
00152             "subject"               => PR_SUBJECT,
00153             "country"               => PR_COUNTRY,
00154             "city"                  => PR_LOCALITY,
00155             "postaladdress"         => PR_POSTAL_ADDRESS,
00156             "postalcode"            => PR_POSTAL_CODE,
00157             "state"                 => PR_STATE_OR_PROVINCE,
00158             "street"                => PR_STREET_ADDRESS,
00159             "homeaddress"           => "PT_STRING8:PSETID_Address:0x801a",
00160             "businessaddress"       => "PT_STRING8:PSETID_Address:0x801b",
00161             "otheraddress"          => "PT_STRING8:PSETID_Address:0x801c",
00162             "mailingaddress"        => "PT_LONG:PSETID_Address:0x8022",
00163         );
00164     }
00165 
00166 
00172     public static function GetEmailMapping() {
00173         return array (
00174             // from
00175             "datereceived"          => PR_MESSAGE_DELIVERY_TIME,
00176             "displayname"           => PR_SUBJECT,
00177             "displayto"             => PR_DISPLAY_TO,
00178             "importance"            => PR_IMPORTANCE,
00179             "messageclass"          => PR_MESSAGE_CLASS,
00180             "subject"               => PR_SUBJECT,
00181             "read"                  => PR_MESSAGE_FLAGS,
00182             // "to" // need to be generated with SMTP addresses
00183             // "cc"
00184             // "threadtopic"        => PR_CONVERSATION_TOPIC,
00185             "internetcpid"          => PR_INTERNET_CPID,
00186             "nativebodytype"        => PR_NATIVE_BODY_INFO,
00187             );
00188     }
00189 
00190 
00199     public static function GetEmailProperties() {
00200         return array (
00201             // Override 'From' to show "Full Name <user@domain.com>"
00202             "representingname"      => PR_SENT_REPRESENTING_NAME,
00203             "representingentryid"   => PR_SENT_REPRESENTING_ENTRYID,
00204             "sourcekey"             => PR_SOURCE_KEY,
00205             "entryid"               => PR_ENTRYID,
00206             "body"                  => PR_BODY,
00207             "rtfcompressed"         => PR_RTF_COMPRESSED,
00208             "html"                  => PR_HTML,
00209             "rtfinsync"             => PR_RTF_IN_SYNC,
00210             "processed"             => PR_PROCESSED,
00211         );
00212     }
00213 
00214 
00220     public static function GetMeetingRequestMapping() {
00221         return array (
00222             "responserequested"     => PR_RESPONSE_REQUESTED,
00223             // timezone
00224             "alldayevent"           => "PT_BOOLEAN:PSETID_Appointment:0x8215",
00225             "busystatus"            => "PT_LONG:PSETID_Appointment:0x8205",
00226             "rtf"                   => PR_RTF_COMPRESSED,
00227             "dtstamp"               => PR_LAST_MODIFICATION_TIME,
00228             "endtime"               => "PT_SYSTIME:PSETID_Appointment:0x820e",
00229             "location"              => "PT_STRING8:PSETID_Appointment:0x8208",
00230             // recurrences
00231             "reminder"              => "PT_LONG:PSETID_Common:0x8501",
00232             "starttime"             => "PT_SYSTIME:PSETID_Appointment:0x820d",
00233             "sensitivity"           => PR_SENSITIVITY,
00234             );
00235     }
00236 
00237 
00238     public static function GetMeetingRequestProperties() {
00239         return array (
00240             "goidtag"               => "PT_BINARY:PSETID_Meeting:0x3",
00241             "timezonetag"           => "PT_BINARY:PSETID_Appointment:0x8233",
00242             "recReplTime"           => "PT_SYSTIME:PSETID_Appointment:0x8228",
00243             "isrecurringtag"        => "PT_BOOLEAN:PSETID_Appointment:0x8223",
00244             "recurringstate"        => "PT_BINARY:PSETID_Appointment:0x8216",
00245             "appSeqNr"              => "PT_LONG:PSETID_Appointment:0x8201",
00246             "lidIsException"        => "PT_BOOLEAN:PSETID_Appointment:0xA",
00247             "recurStartTime"        => "PT_LONG:PSETID_Meeting:0xE",
00248             "reminderset"           => "PT_BOOLEAN:PSETID_Common:0x8503",
00249             "remindertime"          => "PT_LONG:PSETID_Common:0x8501",
00250             "recurrenceend"         => "PT_SYSTIME:PSETID_Appointment:0x8236",
00251             );
00252     }
00253 
00254 
00255     public static function GetTnefAndIcalProperties() {
00256         return array(
00257             "starttime"             => "PT_SYSTIME:PSETID_Appointment:0x820d",
00258             "endtime"               => "PT_SYSTIME:PSETID_Appointment:0x820e",
00259             "commonstart"           => "PT_SYSTIME:PSETID_Common:0x8516",
00260             "commonend"             => "PT_SYSTIME:PSETID_Common:0x8517",
00261             "clipstart"             => "PT_SYSTIME:PSETID_Appointment:0x8235", //ical only
00262             "recurrenceend"         => "PT_SYSTIME:PSETID_Appointment:0x8236", //ical only
00263             "isrecurringtag"        => "PT_BOOLEAN:PSETID_Appointment:0x8223",
00264             "goidtag"               => "PT_BINARY:PSETID_Meeting:0x3",
00265             "goid2tag"              => "PT_BINARY:PSETID_Meeting:0x23",
00266             "usetnef"               => "PT_LONG:PSETID_Meeting:0x8582",
00267             "tneflocation"          => "PT_STRING8:PSETID_Meeting:0x2", //ical only
00268             "location"              => "PT_STRING8:PSETID_Appointment:0x8208",
00269             "tnefrecurr"            => "PT_BOOLEAN:PSETID_Meeting:0x5",
00270             "sideeffects"           => "PT_LONG:PSETID_Common:0x8510",
00271             "type"                  => "PT_STRING8:PSETID_Meeting:0x24",
00272             "busystatus"            => "PT_LONG:PSETID_Appointment:0x8205",
00273             "meetingstatus"         => "PT_LONG:PSETID_Appointment:0x8217",
00274             "responsestatus"        => "PT_LONG:PSETID_Meeting:0x8218",
00275             //the properties below are currently not used
00276             "dayinterval"           => "PT_I2:PSETID_Meeting:0x11",
00277             "weekinterval"          => "PT_I2:PSETID_Meeting:0x12",
00278             "monthinterval"         => "PT_I2:PSETID_Meeting:0x13",
00279             "yearinterval"          => "PT_I2:PSETID_Meeting:0x14",
00280         );
00281     }
00282 
00283 
00289     public static function GetAppointmentMapping() {
00290         return array (
00291             "alldayevent"           => "PT_BOOLEAN:PSETID_Appointment:0x8215",
00292             "body"                  => PR_BODY,
00293             "busystatus"            => "PT_LONG:PSETID_Appointment:0x8205",
00294             "categories"            => "PT_MV_STRING8:PS_PUBLIC_STRINGS:Keywords",
00295             "rtf"                   => PR_RTF_COMPRESSED,
00296             "dtstamp"               => PR_LAST_MODIFICATION_TIME,
00297             "endtime"               => "PT_SYSTIME:PSETID_Appointment:0x820e",
00298             "location"              => "PT_STRING8:PSETID_Appointment:0x8208",
00299             "meetingstatus"         => "PT_LONG:PSETID_Appointment:0x8217",
00300             "sensitivity"           => PR_SENSITIVITY,
00301             "subject"               => PR_SUBJECT,
00302             "starttime"             => "PT_SYSTIME:PSETID_Appointment:0x820d",
00303             "uid"                   => "PT_BINARY:PSETID_Meeting:0x3",
00304             "nativebodytype"        => PR_NATIVE_BODY_INFO,
00305             );
00306     }
00307 
00308 
00317     public static function GetAppointmentProperties() {
00318         return array(
00319             "sourcekey"             => PR_SOURCE_KEY,
00320             "representingentryid"   => PR_SENT_REPRESENTING_ENTRYID,
00321             "representingname"      => PR_SENT_REPRESENTING_NAME,
00322             "reminderset"           => "PT_BOOLEAN:PSETID_Common:0x8503",
00323             "remindertime"          => "PT_LONG:PSETID_Common:0x8501",
00324             "meetingstatus"         => "PT_LONG:PSETID_Appointment:0x8217",
00325             "isrecurring"           => "PT_BOOLEAN:PSETID_Appointment:0x8223",
00326             "recurringstate"        => "PT_BINARY:PSETID_Appointment:0x8216",
00327             "timezonetag"           => "PT_BINARY:PSETID_Appointment:0x8233",
00328             "recurrenceend"         => "PT_SYSTIME:PSETID_Appointment:0x8236",
00329             "meetingstatus"         => "PT_LONG:PSETID_Appointment:0x8218",
00330             "commonstart"           => "PT_SYSTIME:PSETID_Common:0x8516",
00331             "commonend"             => "PT_SYSTIME:PSETID_Common:0x8517",
00332             "reminderstart"         => "PT_SYSTIME:PSETID_Common:0x8502",
00333             "duration"              => "PT_LONG:PSETID_Appointment:0x8213",
00334             "private"               => "PT_BOOLEAN:PSETID_Common:0x8506",
00335             "uid"                   => "PT_BINARY:PSETID_Meeting:0x23",
00336             "sideeffects"           => "PT_LONG:PSETID_Common:0x8510",
00337             "flagdueby"             => "PT_SYSTIME:PSETID_Common:0x8560",
00338             "icon"                  => PR_ICON_INDEX,
00339             "mrwassent"             => "PT_BOOLEAN:PSETID_Appointment:0x8229",
00340             "endtime"               => "PT_SYSTIME:PSETID_Appointment:0x820e",//this is here for calendar restriction, tnef and ical
00341             "starttime"             => "PT_SYSTIME:PSETID_Appointment:0x820d",//this is here for calendar restriction, tnef and ical
00342             "clipstart"             => "PT_SYSTIME:PSETID_Appointment:0x8235", //ical only
00343             "recurrencetype"        => "PT_LONG:PSETID_Appointment:0x8231",
00344             "body"                  => PR_BODY,
00345             "rtfcompressed"         => PR_RTF_COMPRESSED,
00346             "html"                  => PR_HTML,
00347             "rtfinsync"             => PR_RTF_IN_SYNC,
00348         );
00349     }
00350 
00351 
00357     public static function GetTaskMapping() {
00358         return array (
00359             "body"                  => PR_BODY,
00360             "categories"            => "PT_MV_STRING8:PS_PUBLIC_STRINGS:Keywords",
00361             "complete"              => "PT_BOOLEAN:PSETID_Task:0x811C",
00362             "datecompleted"         => "PT_SYSTIME:PSETID_Task:0x810F",
00363             "duedate"               => "PT_SYSTIME:PSETID_Task:0x8105",
00364             "utcduedate"            => "PT_SYSTIME:PSETID_Common:0x8517",
00365             "utcstartdate"          => "PT_SYSTIME:PSETID_Common:0x8516",
00366             "importance"            => PR_IMPORTANCE,
00367             // recurrence
00368             // regenerate
00369             // deadoccur
00370             "reminderset"           => "PT_BOOLEAN:PSETID_Common:0x8503",
00371             "remindertime"          => "PT_SYSTIME:PSETID_Common:0x8502",
00372             "sensitivity"           => PR_SENSITIVITY,
00373             "startdate"             => "PT_SYSTIME:PSETID_Task:0x8104",
00374             "subject"               => PR_SUBJECT,
00375             "rtf"                   => PR_RTF_COMPRESSED,
00376             );
00377     }
00378 
00379 
00387     public static function GetTaskProperties() {
00388         return array (
00389             "isrecurringtag"        => "PT_BOOLEAN:PSETID_Task:0x8126",
00390             "recurringstate"        => "PT_BINARY:PSETID_Task:0x8116",
00391             "deadoccur"             => "PT_BOOLEAN:PSETID_Task:0x8109",
00392             "completion"            => "PT_DOUBLE:PSETID_Task:0x8102",
00393             "status"                => "PT_LONG:PSETID_Task:0x8101",
00394             "icon"                  => PR_ICON_INDEX,
00395         );
00396     }
00397 
00398 
00404     public static function GetMailFlagsMapping() {
00405         return array (
00406             "flagstatus"            => PR_FLAG_STATUS,
00407             "flagtype"              => "PT_STRING8:PSETID_Common:0x8530",
00408             "datecompleted"         => "PT_SYSTIME:PSETID_Common:0x810F",
00409             "completetime"          => PR_FLAG_COMPLETE_TIME,
00410             "startdate"             => "PT_SYSTIME:PSETID_Task:0x8104",
00411             "duedate"               => "PT_SYSTIME:PSETID_Task:0x8105",
00412             "utcstartdate"          => "PT_SYSTIME:PSETID_Common:0x8516",
00413             "utcduedate"            => "PT_SYSTIME:PSETID_Common:0x8517",
00414             "reminderset"           => "PT_BOOLEAN:PSETID_Common:0x8503",
00415             "remindertime"          => "PT_SYSTIME:PSETID_Common:0x8502",
00416             "ordinaldate"           => "PT_SYSTIME:PSETID_Common:0x85A0",
00417             "subordinaldate"        => "PT_STRING8:PSETID_Common:0x85A1",
00418 
00419         );
00420     }
00421 
00422 
00430     public static function GetMailFlagsProperties() {
00431         return array(
00432             "todoitemsflags"        => PR_TODO_ITEM_FLAGS,
00433             "todotitle"             => "PT_STRING8:PSETID_Common:0x85A4",
00434             "flagicon"              => PR_FLAG_ICON,
00435             "replyrequested"        => PR_REPLY_REQUESTED,
00436             "responserequested"     => PR_RESPONSE_REQUESTED,
00437             "status"                => "PT_LONG:PSETID_Task:0x8101",
00438             "completion"            => "PT_DOUBLE:PSETID_Task:0x8102",
00439             "complete"              => "PT_BOOLEAN:PSETID_Task:0x811C",
00440         );
00441     }
00442 
00443 
00451     public static function GetNoteMapping() {
00452         return array(
00453             "categories"            => "PT_MV_STRING8:PS_PUBLIC_STRINGS:Keywords",
00454             "lastmodificationtime"  => PR_LAST_MODIFICATION_TIME,
00455             "messageclass"          => PR_MESSAGE_CLASS,
00456             "subject"               => PR_SUBJECT,
00457         );
00458     }
00459 
00460 
00468     public static function GetNoteProperties() {
00469         return array(
00470             "body"                  => PR_BODY,
00471             "messageclass"          => PR_MESSAGE_CLASS,
00472         );
00473     }
00474 
00475 
00483     public static function GetSendMailProperties() {
00484         return array(
00485                 "outboxentryid"         => PR_IPM_OUTBOX_ENTRYID,
00486                 "ipmsentmailentryid"    => PR_IPM_SENTMAIL_ENTRYID,
00487                 "sentmailentryid"       => PR_SENTMAIL_ENTRYID,
00488                 "subject"               => PR_SUBJECT,
00489                 "messageclass"          => PR_MESSAGE_CLASS,
00490                 "deliverytime"          => PR_MESSAGE_DELIVERY_TIME,
00491                 "importance"            => PR_IMPORTANCE,
00492                 "priority"              => PR_PRIORITY,
00493                 "addrtype"              => PR_ADDRTYPE,
00494                 "emailaddress"          => PR_EMAIL_ADDRESS,
00495                 "displayname"           => PR_DISPLAY_NAME,
00496                 "recipienttype"         => PR_RECIPIENT_TYPE,
00497                 "entryid"               => PR_ENTRYID,
00498                 "iconindex"             => PR_ICON_INDEX,
00499                 "body"                  => PR_BODY,
00500                 "html"                  => PR_HTML,
00501                 "sentrepresentingname"  => PR_SENT_REPRESENTING_NAME,
00502                 "sentrepresentingemail" => PR_SENT_REPRESENTING_EMAIL_ADDRESS,
00503                 "representingentryid"   => PR_SENT_REPRESENTING_ENTRYID,
00504                 "sentrepresentingaddt"  => PR_SENT_REPRESENTING_ADDRTYPE,
00505                 "sentrepresentinsrchk"  => PR_SENT_REPRESENTING_SEARCH_KEY,
00506                 "displayto"             => PR_DISPLAY_TO,
00507                 "displaycc"             => PR_DISPLAY_CC,
00508                 "clientsubmittime"      => PR_CLIENT_SUBMIT_TIME,
00509                 "attachnum"             => PR_ATTACH_NUM,
00510                 "attachdatabin"         => PR_ATTACH_DATA_BIN,
00511                 "internetcpid"          => PR_INTERNET_CPID,
00512         );
00513     }
00514 }
00515 ?>