+ // change all vertical bars in the subject to hyphens so it doesn't screw up the protocol
+ if (!CM_IsEmpty(msg, eMsgSubject)) {
+ char *p;
+ for (p=msg->cm_fields[eMsgSubject]; *p; p++) {
+ printf("%c\n", *p);
+ if (*p == '|') {
+ *p = '-';
+ }
+ }
+ }
+