help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus: Sending email from an IMAP account: "Process smtpmail not runn


From: Tassilo Horn
Subject: Re: Gnus: Sending email from an IMAP account: "Process smtpmail not running"
Date: Sun, 20 Nov 2011 20:56:42 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux)

Marius Hofert <address@hidden> 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 address@hidden port imaps password ....
> machine mail.uni.edu login mylogin port imaps password ....

You probably need to add

  machine smtp.gmail.com login address@hidden 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 via email to

[Prev in Thread] Current Thread [Next in Thread]