summaryrefslogtreecommitdiff
path: root/manualPorts/thunderbird/hashcash.patch
blob: 4f9614abada6e9e8d6d99af32ea41b97a58ebcdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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,19 @@
   nsresult rv = StripOutGroupNames(buf);
   NS_ENSURE_SUCCESS(rv, rv);
 
+  printf("Erich war hier!");
+
+  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());