Questions tagged [smtpmail]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
1
vote
1answer
31 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 ...
0
votes
1answer
57 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
19 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
23 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-...
2
votes
1answer
72 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 ...
0
votes
1answer
30 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
175 views

mu4e with two contexts: no matching messages found, wrong type argument

I'm trying to set up mu4e with mbsync and two gmail accounts. The structure of my Maildir is as follows: ~/.mail |--> school_address |--> INBOX |--> Sent |--> Drafts |--> ...
0
votes
1answer
281 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. ...
1
vote
2answers
461 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
234 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 ...
0
votes
0answers
68 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
332 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" ...
2
votes
0answers
441 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 ...
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)...
1
vote
1answer
176 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
0answers
126 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
1answer
140 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 ...
0
votes
1answer
142 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
359 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, ...
1
vote
0answers
623 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 ...
2
votes
2answers
241 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
0answers
587 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: ...
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: ...
4
votes
0answers
1k 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, ...
3
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 ...