Ctx = (NotifyContext*) usrdata;
msg = CtdlFetchMessage(NotifyMsgnum, 1);
- if ( msg->cm_fields['W'] != NULL)
+ if ( msg->cm_fields['2'] != NULL)
{
- Type = extNotify_getConfigMessage(msg->cm_fields['W'], &PagerNo, &FreeMe);
+ Type = extNotify_getConfigMessage(msg->cm_fields['2'], &PagerNo, &FreeMe);
pch = strstr(msg->cm_fields['M'], "msgid|");
if (pch != NULL)
notify_http_server(remoteurl,
file_funambol_msg,
strlen(file_funambol_msg),/*GNA*/
- msg->cm_fields['W'],
+ msg->cm_fields['2'],
msg->cm_fields['I'],
msgnum,
NULL);
notify_http_server(URLBuf,
ChrPtr(FileBuf),
StrLength(FileBuf),
- msg->cm_fields['W'],
+ msg->cm_fields['2'],
msg->cm_fields['I'],
msgnum,
NULL);
int commandSiz;
char *command;
- commandSiz = sizeof(config.c_pager_program) + strlen(PagerNo) + strlen(msg->cm_fields['W']) + 5;
+ commandSiz = sizeof(config.c_pager_program) + strlen(PagerNo) + strlen(msg->cm_fields['2']) + 5;
command = malloc(commandSiz);
- snprintf(command, commandSiz, "%s %s -u %s", config.c_pager_program, PagerNo, msg->cm_fields['W']);
+ snprintf(command, commandSiz, "%s %s -u %s", config.c_pager_program, PagerNo, msg->cm_fields['2']);
system(command);
free(command);
}
imsg->cm_fields['A'] = strdup("Citadel");
imsg->cm_fields['J'] = strdup("do not journal");
imsg->cm_fields['M'] = instr; /* imsg owns this memory now */
- imsg->cm_fields['W'] = strdup(recipient);
+ imsg->cm_fields['2'] = strdup(recipient);
CtdlSubmitMsg(imsg, NULL, FNBL_QUEUE_ROOM, 0);
CtdlFreeMessage(imsg);
}
-> "S" followed by "CANCEL" means that this message
should be deleted from the local message base once
it has been replicated to all network systems.
-T date/Time A 32-bit integer containing the date and time of
- the message in standard UNIX format (the number
- of seconds since January 1, 1970 GMT).
+T date/Time Unix timestamp containing the creation date/time of
+ the message.
U sUbject Optional. Developers may choose whether they wish to
generate or display subject fields.
V enVelope-to The recipient specified in incoming SMTP messages.
message looks like spam, etc.)
1 suppress index The presence of this field indicates that the message is
disqualified from being added to the full text index.
+2 extnotify Used internally by the serv_extnotify module.
EXAMPLE