unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus: Sending email from an IMAP account: "Process smtpmail not running"
Date: Sun, 20 Nov 2011 20:56:42 +0100	[thread overview]
Message-ID: <87y5vah8jp.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: F38B78BA-1ECA-4A0C-B4AD-430E861E3DEA@math.ethz.ch

Marius Hofert <marius.hofert@math.ethz.ch> writes:

Hi Marius,

> With the (great) help of Tassilo Horn, I was able to set up gnus to
> read email with an IMAP account

Thanks for the compliments. :-)

> At the moment, I try to set it up to *send* email, but I receive
> "Process smtpmail not running".

For sending mail, you need to configure Gnus to use some SMTP server
(unless you have some working sendmail running) like this:

  (setq send-mail-function         'smtpmail-send-it
        message-send-mail-function 'message-smtpmail-send-it
        smtpmail-smtp-server       "smtp.gmail.com")

> In ~/.authinfo, I specified the login details as follows:
> machine imap.googlemail.com login my.name@googlemail.com port imaps password ....
> machine mail.uni.edu login mylogin port imaps password ....

You probably need to add

  machine smtp.gmail.com login my.name@googlemail.com port imaps password ....

as well.

I'm not sure if gmail's smtp allows relaying, i.e., sending mail when
you use your "uni.edu" mail address in the From header.  If it doesn't,
try if your university's smtp allows it.  If not, you need to add some
customization for selecting the right server dynamically when sending
mail.  I think, that's documented somewhere on EmacsWiki.

Bye,
Tassilo
-- 
(What the world needs (I think) is not
      (a Lisp (with fewer parentheses))
      but (an English (with more.)))
Brian Hayes, http://tinyurl.com/3y9l2kf




  reply	other threads:[~2011-11-20 19:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-20 19:26 Gnus: Sending email from an IMAP account: "Process smtpmail not running" Marius Hofert
2011-11-20 19:56 ` Tassilo Horn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-20 20:32 Marius Hofert
2011-11-20 23:22 ` Marius Hofert
2011-11-21  8:33   ` Tassilo Horn

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87y5vah8jp.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=help-gnu-emacs@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 read-only IMAP folder(s) and NNTP newsgroup(s).