Questions tagged [smtpmail]
36 questions
12
votes
1 answer
`mu4e-contexts` multiple gmail accounts using incorrect smtp credentials
I'm attempting to set up multiple Gmail accounts using mu4e-context's. I have a lot of the features working except one. I can switch between contexts, update my mail in each account (using offlineimap) and I can send mail.
The problem is that I have…

eightbitraptor
- 121
- 4
5
votes
0 answers
Sending smtp gmail via gnus
I am able to read gmail in gnus, but, after several hours of trying, am still not able to send gmail via gnus.
I have searched extensively here and elsewhere, and have tried many configurations, including ports 465 and 587. I am using a ~/.authinfo…

SabreWolfy
- 1,378
- 1
- 13
- 26
4
votes
1 answer
mu4e hangs on sending mail
I'm just getting started with mu4e after using Gnus for about a year. The sending of mail seems similar between the two, but mu4e hangs when I try to send mail and finally fails with the error:
network-stream-open-starttls: Failed connect:…

Steven Arntson
- 1,313
- 9
- 27
4
votes
1 answer
Sending smtp email via gmail
I am trying to send email via SMTP in gnus. I can receive email via IMAP just fine, but whenever I try to compose a message send, I get this error:
smtpmail-send-it: Sending failed: 530 5.7.0 Must issue a STARTTLS
command first. e5sm37529pdc.94 -…

bitops
- 333
- 1
- 12
3
votes
0 answers
Sending email through mu4e fails for other accounts
I'm using the latest stable emacs (26.1.91) compiled on my Debian 8 machine and I'm using ssmtp/sendmail to send emails. I'm trying to setup sending mail from multiple accounts within mu4e and it works for my work account (which is google) but not…

map7
- 503
- 3
- 15
2
votes
1 answer
mu4e gmail smtp settings
I'm trying to use mu4e to send/receive email with my Gmail account. I've followed what I believe is the official documentation here, but I think some of the description here seems outdated. As far as receiving mail goes, everything's fine - I'm…

nonreligious
- 473
- 2
- 14
2
votes
1 answer
mu4e: Problem sending email with Gmail
I use mu4e to handle my 3 email accounts - Exchange, Posteo, Gmail. While I have no problem sending emails with Exchange and Posteo, I encounter the following issue when sending via Gmail:
Debugger entered--Lisp error: (error "Sending failed:…

tejas_kale
- 151
- 5
2
votes
1 answer
gnutls-negotiate: GnuTLS error: #>, -15
Following Sending Mail
Since no credentials are given in this configuration, Emacs will look
them up in $(HOME)/.authinfo or $(HOME)/.authinfo.gpg (encrypted). The
content of this file should follow this scheme:
machine example.org login [your…

AbstProcDo
- 1,231
- 5
- 15
2
votes
1 answer
Can't get gnus to work with Gmail and GPG
I was once able to read and write my Gmail email in Gnus, but now I am unable to and can't figure out the problem. There seem to be several problems -- (a) with my gpg2 setup; (b) with my gnus nnimap and gmane server connections; and (c) with the…

WordBrewery
- 103
- 8
2
votes
2 answers
Difference between C-x m and M-x mail
When I attach files using M-x mml-attach-file,
C-x m does attachments as expected but
M-x mail just sends the text
<#part type="text/plain" filename="~/Downloads/coding_style.c" disposition=attachment description="modified coding_style.c">…

Shashank Sabniveesu
- 121
- 2
2
votes
0 answers
Email sending failed
I send emails with C-x m and AFAIK everything is configured
OK. However, recently I got this response when I wanted to send an email:
smtpmail-send-it: Sending failed: 535 5.7.8 Error: authentication failed:
Connection lost to authentication…

Mark Karpov
- 4,893
- 1
- 24
- 53
1
vote
1 answer
mu4e with second account with a different stream type fails to send messages
I use Emacs and mu4e for email. I successfully set up Amazon WorkMail IMAP with Emacs and mu4e as a second account. My first account works with TLS:
(setq ; ...
smtpmail-smtp-server "smtp.server.com"
message-send-mail-function …

miguelmorin
- 1,751
- 11
- 33
1
vote
1 answer
Emails sent using smtpmail / mu4e appear in Gmail Inbox
Emails sent using smtpmail / mu4e appear in Gmail Inbox, both when checked in mu4e and Gmail interface.
I have the following in my .init.el:
(setq
mu4e-maildir "~/.mail" ;; top-level Maildir
mu4e-drafts-folder "/gmail/[Gmail]/Drafts"
…

mac
- 225
- 1
- 13
1
vote
2 answers
authinfo.gpg but still promted for smtpmail credentials
I have the following in my init.el:
(require 'smtpmail)
(setq message-send-mail-function 'smtpmail-send-it
smtpmail-stream-type 'starttls
smtpmail-default-smtp-server "smtp.gmail.com"
smtpmail-auth-credentials (expand-file-name…

mac
- 225
- 1
- 13
1
vote
1 answer
Gmail smtp through mew
I am trying to setup mew to use a gmail account provided by my college. I am on Ubuntu 18.04 and using emacs 25. This is my (anonymized) .mew:
(setq mew-config-alist
'((default
(mailbox-type imap)
(proto …

Mecha_Magpie
- 31
- 5