96
|
1 |
-*- outline -*-
|
|
2 |
|
|
3 |
* Sending email via gmail in emacs.
|
|
4 |
|
|
5 |
; install starttls from here (no need for patch)
|
|
6 |
; http://josefsson.org/emacs-smtp-starttls.html
|
|
7 |
|
|
8 |
(setq send-mail-function 'smtpmail-send-it
|
|
9 |
message-send-mail-function 'smtpmail-send-it
|
|
10 |
smtpmail-starttls-credentials
|
|
11 |
'(("smtp.gmail.com" 587 nil nil))
|
|
12 |
smtpmail-auth-credentials
|
|
13 |
(expand-file-name "~/.authinfo")
|
|
14 |
smtpmail-default-smtp-server "smtp.gmail.com"
|
|
15 |
smtpmail-smtp-server "smtp.gmail.com"
|
|
16 |
smtpmail-smtp-service 587
|
|
17 |
smtpmail-debug-info t
|
|
18 |
starttls-extra-arguments nil
|
|
19 |
smtpmail-warn-about-unknown-extensions t
|
|
20 |
starttls-use-gnutls nil)
|
|
21 |
|
|
22 |
machine smtp.gmail.com login [your name]@gmail.com password [your password]
|
|
23 |
|
|
24 |
And finally download, unzip, make and install startttls:
|
|
25 |
|
|
26 |
http://josefsson.org/emacs-smtp-starttls.html
|
|
27 |
|
|
28 |
See
|
|
29 |
|
|
30 |
http://justinsboringpage.blogspot.com/2009/02/sending-email-via-gmail-in-emacs.html
|
|
31 |
http://obfuscatedcode.wordpress.com/2007/04/26/configuring-emacs-for-gmails-smtp
|
259
|
32 |
|
|
33 |
* Mail etiquette.
|
|
34 |
|
|
35 |
** Bottom vs. top quoting.
|
|
36 |
|
|
37 |
Just not use top quoting!
|
|
38 |
|
|
39 |
** Stallman warn about Google.
|
|
40 |
|
|
41 |
http://www.mail-archive.com/gnu-emacs-sources@gnu.org/msg00302.html |