unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dmitry Alexandrov <dag@gnui.org>
To: numbchild@gmail.com
Cc: Emacs Help <help-gnu-emacs@gnu.org>
Subject: Re: mu4e: configuring SMTP (was: [SOLVED] Re: How to subtract timestamp in elisp?)
Date: Mon, 06 Jul 2020 05:48:26 +0300	[thread overview]
Message-ID: <36654av9.dag@gnui.org> (raw)
In-Reply-To: <87y2nyd5n3.fsf@gmail.com> (stardiviner's message of "Sun, 05 Jul 2020 11:04:16 +0800")

[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]

stardiviner <numbchild@gmail.com> wrote:
> Thanks for your help.

You are welcome.

>> P. S. Sending mail ‘From: …@gmail.com’ right from your home machine is a best way to send it straight to junk folder. ;-) Use smtp.gmail.com.
>
> I used to realized my email always go into Gmail junk, can't find out the reason. I guess you just solved my long time issue. I'm using Emacs mu4e package. I will Google how to use SMTP server in mu4e.

You have not done that so far, as I see [0].  Any issues?  I have never used mu4e, but it should not be really different from any other Emacs-based MUAs, such as Gnus:

	(setq send-mail-function 'smtpmail-send-it
	      message-send-mail-function send-mail-function
	      smtpmail-smtp-server "smtp.gmail.com"
	      smtpmail-stream-type 'ssl ; TLS really, was nil means STARTTLS or cleartext
	      smtpmail-smtp-service "smtps"     ; SMTP/TLS, was 25 == "smtp"
	      smtpmail-smtp-user "numbchild")

Passphrases are supposed to be stored in ~/.authinfo.gpg by default, but Emacs supports pass(1)-compatible storage too.  See (info "(auth) Help for users").

Or, if you need a sendmail(8)-compatible submission agent for some reason, take a look at msmtp(1).

[0] <878sfx1kq0.fsf@gmail.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2020-07-06  2:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-04 11:11 How to subtract timestamp in elisp? stardiviner
2020-07-04 11:39 ` Eli Zaretskii
2020-07-04 12:54 ` Michael Heerdegen
2020-07-04 21:17   ` Dmitry Alexandrov
2020-07-04 21:11 ` Dmitry Alexandrov
2020-07-05  3:04   ` [SOLVED] " stardiviner
2020-07-06  2:48     ` Dmitry Alexandrov [this message]
2020-07-05 13:30 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-06  1:43   ` stardiviner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36654av9.dag@gnui.org \
    --to=dag@gnui.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=numbchild@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).