Simon Josefsson
e81c51f0b2
(smtpmail-auth-supported): Prefer PLAIN over LOGIN.
2005-07-17 07:44:34 +00:00
Simon Josefsson
4effb11216
(smtpmail-auth-supported): Added the 'plain auth method
...
(smtpmail-try-auth-methods): added the AUTH PLAIN dialog
2005-07-17 07:43:29 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Richard M. Stallman
88f2c9add0
(smtpmail-open-stream): Use with-no-warnings.
...
(smtpmail-send-queued-mail): Avoid beginning-of-buffer.
(starttls-extra-args, starttls-extra-arguments): Add defvars.
2005-05-22 13:49:09 +00:00
Juanma Barranquero
027a4b6b3f
Replace string-to-int' by
string-to-number'.
2005-05-16 11:34:49 +00:00
Kim F. Storm
bf247b6ed0
Change release version from 21.4 to 22.1 throughout.
...
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Simon Josefsson
1a63439b34
Fix last commit.
2004-12-27 23:06:11 +00:00
Simon Josefsson
8ffc3990ae
mail/smtpmail.el (smtpmail-try-auth-methods): Send AUTH CRAM-MD5
...
in upper case. Reported by Wojciech Polak <polak@gnu.org> and
tiny patch from Sergey Poznyakoff.
2004-12-27 11:30:04 +00:00
Simon Josefsson
e8620cb6ee
(smtpmail-open-stream): Look for
...
starttls-gnutls-program instead of starttls-program iff
starttls-use-gnutls is non-nil.
(smtpmail-open-stream): Don't overwrite user settings of
starttls-extra-arguments and starttls-extra-args.
2004-10-11 18:42:18 +00:00
Simon Josefsson
4aa609dc30
(smtpmail-open-stream): Bind
...
starttls-extra-arguments too, if starttls.el uses GNUTLS.
2004-05-28 05:56:19 +00:00
Simon Josefsson
758b7b0962
Add comment, based on report by kdc@rcn.com (Kevin D. Clark).
2004-04-09 13:39:30 +00:00
Simon Josefsson
2ceed428a9
(smtpmail-read-response): Abort if process has
...
died to avoid infloop. Reported by Jonathan Glauner
<jglauner@sbum.org>.
2004-03-11 10:53:22 +00:00
John Paul Wallington
1cdb6ab4a7
(smtpmail-try-auth-methods): Fix typo.
2004-02-11 07:21:09 +00:00
Sam Steingold
dbfa9ed49f
(smtpmail-try-auth-methods): Pass port-name as defaultport to `netrc-machine'.
...
Do not try authentication when no mechanism is available.
2004-02-04 15:35:11 +00:00
Glenn Morris
73921ac17e
Jesper Harder <harder@ifa.au.dk>
...
(smtpmail-via-smtp): No need to add two bytes following previous
change to smtpmail-send-data.
2004-01-20 22:17:32 +00:00
Glenn Morris
dd64e5e535
Jesper Harder <harder@ifa.au.dk>
...
(smtpmail-send-data): Don't append spurious newline.
2004-01-18 14:11:11 +00:00
Eli Zaretskii
a8df98fd8b
(smtpmail-via-smtp): Don't insert a space
...
between "MAIL FROM:" and "RCPT TO:" and the following address.
2003-09-28 08:55:50 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Glenn Morris
ff98122692
Fix previous change:
...
(smtpmail-send-queued-mail): Set smtpmail-mail-address before
calling smtpmail-via-smtp.
(smtpmail-via-smtp): Add fall-back values for envelope-from.
2003-08-26 17:42:27 +00:00
Glenn Morris
2265c62399
(smtpmail-mail-address): Doc change.
...
(smtpmail-send-it): Make treatment of envelope-from consistent with
sendmail.el.
2003-08-24 15:23:12 +00:00
Juanma Barranquero
2fbc1118b3
(smtpmail-send-it): Create smtpmail-queue-dir if it doesn't exist.
2003-07-13 17:20:34 +00:00
Simon Josefsson
11c10f3bf0
(smtpmail-open-stream): Don't hard code
...
starttls-program.
2003-05-13 19:48:50 +00:00
Juanma Barranquero
95754b9f0f
(smtpmail-send-queued-mail): Use point-at-bol instead of forward-line.
2003-05-09 22:51:21 +00:00
Juanma Barranquero
9b60c729b4
(smtpmail-send-queued-mail): Don't use kill-line.
2003-05-08 22:16:39 +00:00
Juanma Barranquero
a1506d2977
Trailing whitepace deleted.
2003-02-04 13:24:35 +00:00
Simon Josefsson
2410946921
(smtpmail-via-smtp): Fall back to user-mail-address as sender.
2002-12-15 07:27:08 +00:00
Juanma Barranquero
74f39ce948
(smtpmail-send-queued-mail): Add autoload cookie.
2002-11-18 08:05:28 +00:00
Simon Josefsson
56e5818fd6
* mail/sendmail.el (mail-envelope-from): New option `header' to
...
use RFC 2822 From: header as the envelope address.
(mail-envelope-from): New function, this should be used instead of
looking at the `mail-envelope-from' variable.
(sendmail-send-it): Use it.
* mail/smtpmail.el (smtpmail-via-smtp): Use it.
2002-10-11 02:27:30 +00:00
Simon Josefsson
f029e7b0e9
(smtpmail-via-smtp): Only negotiate starttls on
...
streams that were opened using starttls.
2002-09-29 03:19:55 +00:00
Simon Josefsson
bf6e31bc66
(smtpmail-send-it): Don't use : in filenames
...
(for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
Use expand-file-name. Also don't require time-stamp.
2002-09-12 06:03:03 +00:00
Simon Josefsson
b559a04168
(smtpmail-default-smtp-server): Doc fix.
2002-09-11 04:53:40 +00:00
Simon Josefsson
d0e28141ba
Update copyright.
2002-09-04 19:11:28 +00:00
Simon Josefsson
1121afb461
(smtpmail-via-smtp): Delete process buffer
...
unless s-debug-info is enabled.
2002-08-30 10:32:25 +00:00
Richard M. Stallman
850ed7b3a7
(smtpmail-mail-address): New variable.
...
(smtpmail-send-it): Bind and use that instead of `mail-address'.
(smtpmail-via-smtp): Likewise.
2002-05-12 17:01:59 +00:00
Simon Josefsson
1a8e727bc0
(smtpmail-send-it): Use user-mail-address from
...
calling buffer.
(smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
have the patch).
2002-05-09 10:18:09 +00:00
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