projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added an improved user interface for sending messages with attachments.
[mmh]
/
mts
/
smtp
/
smtp.c
diff --git
a/mts/smtp/smtp.c
b/mts/smtp/smtp.c
index
a37ebea
..
ca56781
100644
(file)
--- a/
mts/smtp/smtp.c
+++ b/
mts/smtp/smtp.c
@@
-2,17
+2,30
@@
* smtp.c -- nmh SMTP interface
*
* $Id$
* smtp.c -- nmh SMTP interface
*
* $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
#include "smtp.h"
*/
#include <h/mh.h>
#include "smtp.h"
-#include <zotnet/mts/mts.h>
+#include <h/mts.h>
#include <signal.h>
#include <h/signals.h>
#ifdef MPOP
#include <errno.h>
#endif
#include <signal.h>
#include <h/signals.h>
#ifdef MPOP
#include <errno.h>
#endif
+#ifdef CYRUS_SASL
+#include <sasl.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
+#include <errno.h>
+#endif /* CYRUS_SASL */
+
/*
* This module implements an interface to SendMail very similar
* to the MMDF mm_(3) routines. The sm_() routines herein talk
/*
* This module implements an interface to SendMail very similar
* to the MMDF mm_(3) routines. The sm_() routines herein talk
@@
-141,7
+154,7
@@
char **smail_copyip (char **, char **, int);
static int sm_auth_sasl(char *, char *, char *);
#endif /* CYRUS_SASL */
static int sm_auth_sasl(char *, char *, char *);
#endif /* CYRUS_SASL */
-/* from zotnet/mts/client.c */
+/* from mts/generic/client.c */
int client (char *, char *, char *, int, char *, int);
int
int client (char *, char *, char *, int, char *, int);
int