if (valid != NULL) {
valid->bounce_to = strdup(bounce_to);
valid->envelope_from = strdup(bounce_to);
- CtdlSubmitMsg(msg, valid, NULL, 0);
+ CtdlSubmitMsg(msg, valid, NULL);
}
CM_Free(msg);
free_recipients(valid);
/* If there are digest recipients, we have to build a digest */
if (sc->digestfp == NULL) {
- sc->digestfp = create_digest_file(&sc->room, 1);
+ sc->digestfp = tmpfile();
if (sc->digestfp == NULL)
return;
valid->bounce_to = strdup(bounce_to);
valid->envelope_from = strdup(bounce_to);
valid->sending_room = strdup(RoomName);
- CtdlSubmitMsg(msg, valid, NULL, 0);
+ CtdlSubmitMsg(msg, valid, NULL);
free_recipients(valid);
}
/* Do not call CM_Free(msg) here; the caller will free it. */
valid = validate_recipients(ChrPtr(sc->Users[participate]) , NULL, 0);
CM_SetField(msg, eRecipient, SKEY(sc->Users[roommailalias]));
- CtdlSubmitMsg(msg, valid, "", 0);
+ CtdlSubmitMsg(msg, valid, "");
free_recipients(valid);
}
CM_Free(msg);