6 votes

`mu4e-contexts` multiple gmail accounts using incorrect smtp credentials

It's been almost two years since the question was asked, but I have just had the same problem and I managed to solve it using the smtpmail-smtp-user variable. In the manual it says: If the variable ...
  • 161
5 votes

Difference between C-x m and M-x mail

I know nothing about mail in Emacs, but running C-h k C-x m tells me that C-x m runs the command compose-mail, which is different from mail. This is presumably why they behave differently. You can ...
4 votes
Accepted

Sending smtp email via gmail

I found a solution! I had to tell it where to find gnutls. (setq message-send-mail-function 'smtpmail-send-it smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)) smtpmail-auth-...
  • 333
3 votes
Accepted

mu4e hangs on sending mail

Apart from the variables listed in your question, have a look at smtpmail-smtp-service, which specifies the port number that the SMTP server is reachable at. The default value of this variable is 25, ...
  • 5,924
3 votes
Accepted

authinfo.gpg but still promted for smtpmail credentials

The auth-source lookup done by smtpmail uses the smtpmail-smtp-service port as well, so you need to specify '587' in .authinfo.gpg (although personally I advocate for using port 465 and a stream-type ...
  • 4,167
2 votes
Accepted

Gmail smtp through mew

The problem was resolved by simply adding client=yes under ssmtp in stunnel.conf
2 votes

mu4e gmail smtp settings

In the end, I created another app password from my google account and stored it in .authinfo.gpg, which is formatted as per the Gnus Gmail instructions machine smtp.gmail.com login <USER> ...
2 votes
Accepted

Emails sent using smtpmail / mu4e appear in Gmail Inbox

Turns out I had the email address I was using as a test recipient set up as an extra "Send email as" account in Gmail.
  • 225
1 vote
Accepted

How to use a Gmail app password with smtp?

Here's what I have, hopefully it will help you. Works for sending via C-x m or the gnus interface, and I've had it set up for several months. ~/.emacs: (custom-set-variables '(send-mail-function '...
  • 302
1 vote
Accepted

send email gnus error - need fully-qualified hostname

"smtp.zenbox.pl" wants the machine from which you're sending mail to have a fully qualified domain name. You can arrange for that either by making sure that (system-name) returns one, or by setting ...
  • 4,167
1 vote
Accepted

mu4e: Problem sending email with Gmail

I had set the variable smtpmail-smtp-user to my name instead of my email ID. Correcting it got rid of the error. Thanks to @rpluim for helping me debug the issue.
1 vote

gnutls-negotiate: GnuTLS error: #<process smtpmail<1>>, -15

Change your port to use 465 instead of 587 (setq message-send-mail-function 'smtpmail-send-it smtpmail-starttls-credentials '(("smtp.gmail.com" 465 nil nil)) smtpmail-default-smtp-...
  • 111
1 vote
Accepted

Sending mail in mu4e on emacs25 (or debugging make-network-process hangs)

Is a network connection to this server possible? Try: telnet an.smtp.server 25 from command line (like bash). If you do not get an answer from the server, then emacs is not the reason and you have to ...
  • 4,286
1 vote

Which mail client in Emacs can schedule mail sending to every specific mail?

There is an accepted answer to a similar question. Extracted information: yes, you can if you use Gnus. See above mentioned answer for instructions.
  • 4,286
1 vote

Can't get gnus to work with Gmail and GPG

I assume you have already generated your public and private key pairs using gpg2. Before jumping into the gnus configuration there are some things you need to have done. Setup Gmail to cooperate with ...
1 vote

smtpmail.el: How to tell if gnutls has started

You have hopefully figured this out by now but I think you need (setq smtpmail-stream-type 'starttls). You've specified TLS directly which won't work if the service expects unencrypted connections at ...
  • 11
1 vote

Emacs mail - The TLS connection was non-properly terminated

Below are my settings for sending mail through GMail: (require 'nnir) (setq gnus-select-method '(nnimap "gmail" (nnimap-address "imap.gmail.com") (nnimap-server-...
  • 11k

Only top scored, non community-wiki answers of a minimum length are eligible