Questions tagged [smtpmail]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11
votes
1answer
1k views

`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)...
5
votes
0answers
2k views

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, ...
4
votes
1answer
1k views

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 ...
3
votes
1answer
1k views

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: ...
2
votes
2answers
250 views

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=...
2
votes
1answer
86 views

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 ...
2
votes
0answers
575 views

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 ...
2
votes
1answer
1k views

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 ...
2
votes
0answers
608 views

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: ...
1
vote
2answers
611 views

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" ...
1
vote
1answer
209 views

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 (...
1
vote
1answer
275 views

Emails sent using smtpmail / mu4e appear in Gmail Inbox [closed]

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 ...
1
vote
1answer
147 views

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

In office, I need to send one mail to boss every day, every week, and every month. Usually I composed those mails every afternoon and leave them in a * send mail * buffer, and send them when I prepare ...
1
vote
1answer
44 views

gnutls-negotiate: GnuTLS error: #<process smtpmail<1>>, -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 ...
1
vote
0answers
130 views

SMPTmail suddenly isn't reading .authinfo properly. How can I fix it?

Some update must've made it so that SMTP mail isn't reading my password from ~/.authinfo any more. It reads everything else OK (hostname, port), but prompts me for my password the first time I try to ...
1
vote
0answers
671 views

SMTP auth credentials in emacs 24.x without an .authinfo file?

I know that the `smtpmail-auth-credentials' variable has been removed in emacs 24.x, and that we are now expected to use an .authinfo file. However, I have a specialized need for passing in SMTP ...
0
votes
1answer
28 views

send email gnus error - need fully-qualified hostname

I'm trying to send email from emacs-gnus. But still get this error: smtpmail-send-it: Sending failed: 504 5.5.2 : Helo command rejected: need fully-qualified hostname My config is: (setq send-...
0
votes
1answer
157 views

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

The short How can I investigate why make-network-process gets stuck forever? The long I have been happily using mu4e as my mail agent for a number of years. After upgrading from emacs 24 to emacs ...
0
votes
1answer
309 views

smtpmail.el: How to tell if gnutls has started

Like the poster here I'm having difficulty connecting to an smtp server that uses tls. I have installed gnutls-cli but I am still getting an error, "530 5.7.0 Must issue a STARTTLS command first. ...
0
votes
1answer
382 views

Emacs mail - The TLS connection was non-properly terminated

I am trying to send mail through emacs via my gmail account. I understand that this means it is senting using SMTP. However, when I go through the basic steps to send mail through my gmail account, ...
0
votes
0answers
28 views

Error message when posting to GMANE

When trying to post to GMANE, I get an error message: 441 You need a valid email address to post: Invalid response from SMTP server mail.inka.de: 550-Verification failed for auth@gmane-mx.org Couldn’...
0
votes
1answer
20 views

Sending mail from multiple domains with the same mail server

I use Emacs and mu4e to send mail. I have a mail server with Amazon WorkMail and I set up the information at ~/.authinfo.gpg. Two domains are in the same region and have the same SMTP server with ...
0
votes
1answer
16 views

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 &...
0
votes
0answers
41 views

Unable to send email through my second account

I have set up email in emacs using mu4e for both my personal and university account (both use gmail). However I am unable to send email from my university account. Personal account works totally fine....
0
votes
1answer
207 views

Unable to authenticate sending mail using smtpmail-send-it to gmail, “Username and Password not Accepted”

I would like mu4e to use smtpmail-send-it to send emails from emacs. I would like smtpmail-send-it to authenticate using pass. I have 2factor auth on my gmail account, so I have to use an App Password....
0
votes
0answers
26 views

Passwordless `smtpmail-send-it` and queue

my current mu4e setup uses MSMTP utility to send out emails. Unfortunately if I want to use queues I have to use smtpmail.el which requires me either to (1) save my password in cleartext in .authinfo, ...
0
votes
1answer
50 views

mail attachment filename coding

I try to use mu4e with smtpmail to send mail, and use mml-attach-file to add attachment. If the attachment filename contains non-english name, such as Chinese, the header of message will become ...
0
votes
0answers
76 views

Can't change location of .authinfo

While using emacs e-mails, receiving works fine. Sending does not. If I place my .authfile in the home folder sending mails works fine. It does not ask for smtp server or user or password. If I move ...
0
votes
0answers
408 views

Sending email with gnutls stopped working

I've been using the following setup Gnus SMTP ;;; SMTP (defun email-settings () (interactive) (setq message-send-mail-function 'smtpmail-send-it starttls-gnutls-program "gnutls-cli" ...