mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-04-07 21:37:06 +00:00
Fixed X-Mailer header.
This commit is contained in:
parent
effe9ee473
commit
efb66656e6
@ -601,7 +601,7 @@ void write_email_headers(FILE *fp1, FILE *fp2, struct emailhdrs *h, char mode) {
|
||||
truncate_header(h->from, buf, 80);
|
||||
fprintf(fp2, "To: %s\r", (mode == 'R' ? buf : ""), buf);
|
||||
fprintf(fp2, "cc: \r");
|
||||
fprintf(fp2, "X-Mailer: %s - Apple ][ Forever!\r\r", PROGNAME);
|
||||
fprintf(fp2, "X-Mailer: %s - Apple II Forever!\r\r", PROGNAME);
|
||||
if (mode == 'R') {
|
||||
truncate_header(h->date, buf, 40);
|
||||
fprintf(fp2, "On %s, ", buf);
|
||||
|
@ -6,6 +6,7 @@
|
||||
// Bobbi June 2020
|
||||
/////////////////////////////////////////////////////////////////
|
||||
|
||||
// TODO: Needs a DELETE option
|
||||
// TODO: EMAIL.n files should be type TXT
|
||||
// TODO: The way CRLF.CRLF is detected will not work if split across packets
|
||||
// We can probably fix this by copying the last 4 bytes of each buffer
|
||||
|
@ -6,6 +6,8 @@
|
||||
// Bobbi June 2020
|
||||
/////////////////////////////////////////////////////////////////
|
||||
|
||||
// TODO See below
|
||||
|
||||
#include <cc65.h>
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user