Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: darcsis@gmail.com (dhg::Newsfork)
To: info-gnus-english@gnu.org
Subject: Re: gmail + imap - hangs when sending
Date: Mon, 19 Jan 2009 12:37:51 +0800	[thread overview]
Message-ID: <86hc3vhpwg.fsf@pluton.xbsd.name> (raw)
In-Reply-To: <87fxjhsjhd.fsf@tux.Puorg>

Sebastian Schubert <schubert.seb@googlemail.com> writes:

> Hi,
>
> * On Thursday, Jan 15 2009 13:40 CET, Paul Mead wrote:
>
>> (setq starttls-use-gntls t)
>>
>> (setq send-mail-function 'smtpmail-send-it
>>       message-send-mail-function 'smtpmail-send-it
>>       smtpmail-starttls-credentials
>>       '(("smtp.gmail.com" 587 nil nil))
>>       smtpmail-auth-credentials
>>       (expand-file-name "~/.authinfo")
>>       smtpmail-default-smtp-server "smtp.gmail.com"
>>       smtpmail-smtp-server "smtp.gmail.com"
>>       smtpmail-smtp-service 587
>>       smtpmail-debug-info t)
>
> I'm not really an expert, but this works for me:
>
> (setq smtpmail-smtp-server "smtp.gmail.com")
> (setq smtpmail-starttls-credentials
>      '(("smtp.gmail.com" 587 nil nil)))
> (setq smtpmail-smtp-service 587)
> (setq smtpmail-auth-credentials
>       "~/.authinfo")
>
>
> and in authinfo:
>
> machine smtp.gmail.com login thename@gmail.com password ALMOSTGOTME port 587
>
> Hope this helps
>
> Sebastian

It seems this piece of elisp code will work on some OSes but not on
other OSes such as OpenSolaris. It is because gnutls is not default on
these platforms?


-- 
darcsis ZAI gmail DIAN com

  reply	other threads:[~2009-01-19  4:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4920.1232023809.26697.info-gnus-english@gnu.org>
2009-01-17  3:08 ` dhg::Newsfork
2009-01-20  8:11   ` Paul Mead
2009-01-17 21:36 ` Sebastian Schubert
2009-01-19  4:37   ` dhg::Newsfork [this message]
2009-01-20  8:13     ` Paul Mead
2009-01-15 12:40 Paul Mead
2009-01-16 12:53 ` Manish Sharma
2009-01-16 21:10   ` Paul Mead

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86hc3vhpwg.fsf@pluton.xbsd.name \
    --to=darcsis@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).