1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
Richard M. Stallman
0d1c958a2f (netrc-machine, netrc-get): Add autoloads. 2002-05-08 13:13:41 +00:00
Sam Steingold
a8ba442952 (smtpmail-try-auth-methods): host is not in the authinfo/netrc => cred=nil. 2002-04-26 18:59:08 +00:00
Richard M. Stallman
60ed3fa5f0 (smtpmail-auth-credentials): Support netrc files as well.
(smtpmail-try-auth-methods): Support netrc data.
(netrc-parse): Autoload netrc.
2002-04-25 23:39:21 +00:00
Richard M. Stallman
08b10dd422 (smtpmail-queue-counter): New variable.
(smtpmail-send-it): Use it to construct new queue filenames (needed
if you send more than one message per second, which is
possible if you use Gnus Agent).
2002-04-25 21:45:22 +00:00
Eli Zaretskii
7e3fa9f5e2 (smtpmail-send-queued-mail): Use
with-temp-buffer instead of find-file-noselect, and bind
coding-system-for-read to no-conversion when reading the queued
messages.  From Simon Josefsson <jas@extundo.com>.
2001-12-21 12:06:21 +00:00
Eli Zaretskii
19a0baf79c (smtpmail-send-queued-mail): Insert the enqueued messages literally. 2001-12-10 19:49:32 +00:00
Stefan Monnier
21bf0d6c50 Use with-current-buffer.
(message-make-date, message-make-message-id): Autoload when needed.
(smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
headers when missing.
2001-12-01 00:36:12 +00:00
Richard M. Stallman
92dfd10c1f Simplify previous change. 2001-11-25 17:45:36 +00:00
Pavel Janík
fefed09d42 (smtpmail-deduce-address-list): Don't use insert-string. 2001-11-25 15:11:22 +00:00
Richard M. Stallman
9056f1c9f7 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
(smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
Defsubst instead of defmacro.
(smtpmail-intersection): Return value in reverse order.
(smtpmail-open-stream): Use stringp instead of string-to-list.
(smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
separated from smtpmail-via-smtp.

(top level): Autoload starttls, mail-utils and rfc2104.
(smtpmail-smtp-service): Doc fix.  :type fix.
(smtpmail-debug-info): Doc fix.
(smtpmail-debug-verb, smtpmail-auth-credentials)
(smtpmail-starttls-credentials, smtpmail-auth-supported): New variables.
(smtpmail-deduce-address-list, smtpmail-send-it): Don't require
mail-utils (it is autoloaded).
(smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
(smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
(smtpmail-find-credentials, smtpmail-intersection): New utility funs.
(smtpmail-via-smtp): Support STARTTLS, if binary is installed.
(smtpmail-via-smtp): Support AUTH.
(smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
2001-11-17 22:43:36 +00:00
Stefan Monnier
d2f11dda2a (smtpmail-via-smtp): Use mail-envelope-from if set. 2001-10-18 20:48:23 +00:00
Gerd Moellmann
a95f291d6f Comment fix. 2001-08-07 14:43:48 +00:00
Gerd Moellmann
2b5c7e03a5 (maybe-append-domain): Renamed to
`smtpmail-maybe-append-domain'.
(smtpmail-via-smtp): Use the new name.
2001-05-18 11:24:16 +00:00
Gerd Moellmann
fa87f673f5 (smtpmail-warn-about-unknown-extensions): Add :version. 2001-05-07 11:26:24 +00:00
Gerd Moellmann
1b62b0624f (smtpmail-warn-about-unknown-extensions): New
option.
(smtpmail-via-smtp): Print warnings about unknown SMTP extensions
only if smtpmail-warn-about-unknown-extensions is set.
2001-05-07 11:24:51 +00:00
Gerd Moellmann
e889eabcba (smtpmail-via-smtp): Add support for
automatically appending a domain to RCPT TO: addresses.
1999-10-14 22:09:58 +00:00
Andrew Innes
e916648788 (smtpmail-send-it): Use convert-standard-filename to make file names
for queued mail safe on Windows (`:' is invalid in file names on
Windows).
1999-06-18 21:20:48 +00:00
Kenichi Handa
83af570eae (smtpmail-send-it): Bind
smtpmail-code-conv-from properly.
(smtpmail-send-data-1): If DATA is a multibyte string, encode it
by smtpmail-code-conv-from.
1999-05-25 11:12:17 +00:00
Andrew Innes
1188dd3759 (smtpmail-deduce-address-list): Bind variables
after switching buffer, as case-fold-search is a buffer local
variable.
1999-05-02 09:50:47 +00:00
Karl Heuer
067427f540 (smtpmail-do-bcc): Fix regexp. 1999-03-09 03:02:55 +00:00
Richard M. Stallman
fb035bbfe1 (smtpmail-send-data-1): Use encode-coding-string.
(smtpmail-address-buffer): Add defvar.
(smtpmail-recipient-address-list, smtpmail-read-point): Likewise.
1998-10-13 15:32:12 +00:00
Karl Heuer
2c79f5b831 (smtpmail-via-smtp): Parse out the first word
on extension lines.
1998-09-04 20:08:58 +00:00
Karl Heuer
f38d351407 (smtpmail-send-it): Add autoload cookie.
(smtpmail-via-smtp): Check that smtpmail-smtp-server is defined.
1998-08-29 15:56:41 +00:00
Richard M. Stallman
4b876894b7 (smtpmail-via-smtp): Speciy process coding system. 1998-05-12 19:44:17 +00:00
Richard M. Stallman
92a3f23d5b (smtpmail-send-it): Use mail-sendmail-undelimit-header. 1998-04-30 06:12:32 +00:00
Richard M. Stallman
5feeeae29d (smtpmail-send-it): Deleted all code related to Resent-To: processing.
(smtpmail-deduce-address-list): Changed the search for
Resent-\(To\|Cc\|Bcc\) headers.
(smtpmail-do-bcc): Delete Resent-Bcc: headers.
1998-04-20 18:03:00 +00:00
Karl Heuer
3375a61ce6 (smtpmail-send-it): Don't use time-stamp-strftime. 1997-10-15 23:33:14 +00:00
Richard M. Stallman
308bc5d840 Include time-stamp.
(smtpmail-queue-dir, smtpmail-queue-index-file): New variables.
(smtpmail-queue-mail): New variable.
(smtpmail-send-it): Handle those variables.
(smtpmail-send-queued-mail): New command.
1997-06-01 23:26:16 +00:00
Richard M. Stallman
c50d5ce0d1 (smtpmail-via-smtp): Recognize XVRB as a synonym for
VERB and XONE as a synonym for ONEX.

(smtpmail-read-response): Add "%s" to `message' calls to avoid
problems with percent signs in strings.

(smtpmail-read-response): Return all lines of the
response text as a list of strings.  Formerly only the first line
was returned.  This is insufficient when one wants to parse
e.g. an EHLO response.

Ignore responses starting with "0".  This is necessary to support
the VERB SMTP extension.

(smtpmail-via-smtp): Try EHLO and find out which SMTP service
extensions the receiving mailer supports.

Issue the ONEX and XUSR commands if the corresponding extensions
are supported.

Issue VERB if supported and `smtpmail-debug-info' is non-nil.

Add SIZE attribute to MAIL FROM: command if SIZE extension is
supported.

Add code that could set the BODY= attribute to MAIL FROM: if the
receiving mailer supports 8BITMIME.  This is currently disabled,
since doing it right might involve adding MIME headers to, and in
some cases reencoding, the message.
1997-06-01 22:24:22 +00:00
Richard M. Stallman
092af6d867 Comment change. 1997-04-20 07:33:52 +00:00
Richard M. Stallman
00ed33e7ab Add defgroup; use defcustom for user vars. 1997-04-13 07:51:54 +00:00
Richard M. Stallman
e4377f536f (smtpmail-read-response): Don't get confused by %'s in response-string. 1997-01-21 01:16:10 +00:00
Karl Heuer
5781056053 (smtpmail-send-data-1): Escape "." at the start of
any line of data, not just lines containing nothing else.
1996-07-15 20:00:34 +00:00
Karl Heuer
13f1d088c1 (smtpmail-deduce-address-list): Handle RESENT-* fields. 1996-07-12 00:09:50 +00:00
Miles Bader
52a2a9c397 (smtpmail-send-it): Ignore To:' if there is a Resent-to':. 1996-07-04 05:45:33 +00:00
Richard M. Stallman
c8d16dbd12 (smtpmail-read-response): Goto smtpmail-read-point 1996-06-18 22:43:32 +00:00
Richard M. Stallman
b21dc7615e (smtpmail-via-smtp): Bracket names in FROM and RCPT TO commands. 1996-06-18 22:39:51 +00:00
Richard M. Stallman
0e2701ca22 (smtpmail-send-it): Don't handle FCC fields until after determining FROM field.
Delete code that converted "S:" to "Subject:".
Insert FROM field unless it already exists (code from sendmail.el).
1996-06-18 22:38:23 +00:00
Richard M. Stallman
e2f7c2217e (smtpmail-smtp-service): Use port 25 as default.
(smtpmail-send-it): Require mail-utils upon entry.
Don't invoke sendmail-synch-aliases.
(smtpmail-deduce-address-list): Only use text matched in regexp group,
not the whole regexp.
1996-06-18 22:35:10 +00:00
Richard M. Stallman
ca09ceaf4b Comment change. 1996-06-10 15:53:37 +00:00
Richard M. Stallman
8805249b95 (smtpmail-send-it): Fix error messages.
(smtpmail-deduce-address-list): Bind recipient-address-list with let.
(smtpmail-via-smtp): Bind greeting, n, process-buffer.
1996-06-07 14:28:16 +00:00
Richard M. Stallman
24975917d0 Initial revision 1996-06-07 14:21:50 +00:00