summaryrefslogtreecommitdiff
path: root/manualPorts/thunderbird/hashcash.patch
blob: 77cab9638c63479262393f9e51fa737cc6fa8cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- thunderbird-60.0/comm/mailnews/compose/src/nsMsgSend.cpp	2016-04-18 17:51:36.094512105 +0200
+++ thunderbird-60.0/comm/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());