--- 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());