From a016460027f89e7c81106a0560d1d495f727c182 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 10 Mar 2002 19:59:59 +0000 Subject: Expose the ESMTP name and password options. svn path=/trunk/; revision=3596 --- etrn.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'etrn.c') diff --git a/etrn.c b/etrn.c index 00455faf..7f5e882d 100644 --- a/etrn.c +++ b/etrn.c @@ -40,7 +40,9 @@ static int etrn_getrange(int sock, struct query *ctl, const char *id, char buf [MSGBUFSIZE+1]; struct idlist *qnp; /* pointer to Q names */ - if ((ok = SMTP_ehlo(sock, fetchmailhost, &opts))) + if ((ok = SMTP_ehlo(sock, fetchmailhost, + ctl->server.esmtp_name, ctl->server.esmtp_password, + &opts))) { report(stderr, GT_("%s's SMTP listener does not support ESMTP\n"), ctl->server.pollname); -- cgit v1.2.3