blob: bda8d5203890cc6ce256a0d69e6dedc7711d0ab9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- thunderbird-45.0/mailnews/compose/src/nsMsgSend.cpp 2016-04-18 17:51:36.094512105 +0200
+++ thunderbird-45.0/mailnews/compose/src/nsMsgSend.cpp 2016-04-18 17:53:56.667729453 +0200
@@ -3340,6 +3340,17 @@
nsresult rv = StripOutGroupNames(buf);
NS_ENSURE_SUCCESS(rv, rv);
+ FILE *fpipe;
+ char line[256];
+ if (fpipe = (FILE*) popen("sendmailadvanced -s --no-encrypt -i /tmp/nsemail.eml","r"))
+ {
+ while (fgets(line,sizeof line, fpipe))
+ {
+ printf("Zeile: %s\n",line);
+ }
+ pclose(fpipe);
+ }
+
// Ok, now MIME II encode this to prevent 8bit problems...
char *convbuf = nsMsgI18NEncodeMimePartIIStr(buf, true,
mCompFields->GetCharacterSet(), 0, nsMsgMIMEGetConformToStandard());
|