- /* custom headers */
- if (compose->account->add_customhdr) {
- GSList *cur;
-
- for (cur = compose->account->customhdr_list; cur != NULL;
- cur = cur->next) {
- CustomHeader *chdr = (CustomHeader *)cur->data;
-
- if (strcasecmp(chdr->name, "Date") != 0 &&
- strcasecmp(chdr->name, "Message-Id") != 0 &&
- strcasecmp(chdr->name, "In-Reply-To") != 0 &&
- strcasecmp(chdr->name, "References") != 0 &&
- strcasecmp(chdr->name, "Mime-Version") != 0 &&
- strcasecmp(chdr->name, "Content-Type") != 0 &&
- strcasecmp(chdr->name, "Content-Transfer-Encoding") != 0)
- fprintf(fp, "%s: %s\n",
- chdr->name, chdr->value);
- }
- }
-