Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tobias Brink <tobias.brinkNO.SPAM@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: SMTP-AUTH and TLS
Date: Mon, 08 Oct 2007 20:40:43 +0200	[thread overview]
Message-ID: <87y7edmous.fsf@tobe.homeunix.org> (raw)
In-Reply-To: <1191866618.567794.314150@v3g2000hsg.googlegroups.com>

someusernamehere <someusernamehere@gmail.com> writes:

> i have tried this and doesnt work, I have the same problem, can you
> paste your final work code here please?

Here you go:

,----[ ~/.gnus.el ]
| (require 'smtpmail)
| (setq send-mail-function 'smtpmail-send-it)
| (setq message-send-mail-function 'smtpmail-send-it)
| (setq smtpmail-starttls-credentials
|       '(("YOURSMTP.TLD" 25 nil nil)))
| (setq smtpmail-smtp-server "YOURSMTP.TLD")
| (setq smtpmail-default-smtp-server "YOURSMTP.TLD") ; This is probably
|                                                    ; not needed.
`----

,----[ ~/.authinfo ]
| machine YOURSMTP.TLD login YOURUSERNAME password YOURPASSWORD
`----

Replace the strings in capital letters.

Hope that helps,
Tobias

  reply	other threads:[~2007-10-08 18:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-02 13:07 Tobias Brink
2007-10-03 23:05 ` Tobias Brink
2007-10-04 16:44   ` Reiner Steib
2007-10-08 18:03   ` someusernamehere
2007-10-08 18:40     ` Tobias Brink [this message]
2007-10-08 20:54       ` someusernamehere

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=87y7edmous.fsf@tobe.homeunix.org \
    --to=tobias.brinkno.spam@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).