Andreas Krennmair:
[apps/madmutt.git] / sendlib.c
index 7a718a2..666f4ec 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
 #include <fcntl.h>
 #include <sys/utsname.h>
 
+#ifdef USE_LIBESMTP
+# include "mutt_libesmtp.h"
+#endif /* USE_LIBESMTP */
+
 #ifdef USE_NNTP
 #include <nntp.h>
 #endif
@@ -191,9 +195,6 @@ static void encode_quoted (FGETCONV * fc, FILE *fout, int istext)
       linelen = 3;
     }
 
-#ifdef USE_LIBESMTP
-# include "mutt_libesmtp.h"
-#endif /* USE_LIBESMTP */
 
     if (c == '\n' && istext)
     {
@@ -1737,15 +1738,6 @@ int mutt_write_rfc822_header (FILE *fp, ENVELOPE *env, BODY *attach,
     }
   }
 
-  /* Add X-Face headers */
-  if (env->x_face)
-  {
-    LIST *face;
-
-    for (face = env->x_face; face; face = face->next)
-      fprintf (fp, "X-Face: %s\n", face->data);
-  }
-
   if (mode == 0 && !privacy && option (OPTXMAILER) && !has_agent)
   {
     struct utsname un;