From: Arash Esbati <arash@gnu.org>
To: gfp <gfp@posteo.at>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: sending mail with gnus
Date: Wed, 08 Jan 2025 23:36:33 +0100 [thread overview]
Message-ID: <m2cygxylu6.fsf@macmutant.fritz.box> (raw)
In-Reply-To: <4bf582ca-094d-43db-9dbb-d8df0ed6ef5b@posteo.at> (gfp@posteo.at's message of "Wed, 8 Jan 2025 22:11:25 +0000")
gfp <gfp@posteo.at> writes:
> thanks for your help.
> I appreciate that very much.
You're welcome.
> 1.
> How do you do this? to get this line:
> --8<---------------cut here---------------start------------->8---
I mark a region when writing a message and hit 'C-c M-m':
,----[ C-h k C-c M-m ]
| C-c M-m runs the command message-mark-inserted-region (found in
| message-mode-map), which is an interactive native-comp-function in
| ‘message.el’.
|
| It is bound to C-c M-m.
|
| (message-mark-inserted-region BEG END &optional VERBATIM)
|
| Inferred type: (function (t t &optional t) t)
|
| Mark some region in the current article with enclosing tags.
| See ‘message-mark-insert-begin’ and ‘message-mark-insert-end’.
| If VERBATIM, use slrn style verbatim marks ("#v+" and "#v-").
|
`----
> 2.
> I fiddled around for many hours today to get gnus SMTP working
> and to my own great astonishment
> I just managed it some seconds before I got your email.
>
> my gnus.el:
> ;; get emails
> (setq gnus-select-method '(nnnil ""))
> (setq gnus-secondary-select-methods
> '((nnimap "posteo"
> (nnimap-address "posteo.de")
> (nnnimap-user "gottfried@posteo.de")
> (nnimap-authenticator login)
> (nnimap-stream ssl)
> (nnimap-server-port 993))))
>
> ;; Reply emails
> (setq gnus-posting-styles
> '((smtpmail-smtp-service)
> (smtpmail-smtp-server "smtp.posteo.de")
> (smtpmail-smtp-user "gottfried@posteo.de")
> (smtpmail-smtp-port 465)))
And I'm astonished that it works with the code above for
`gnus-posting-styles', compare your code with the description in the
manual[1]. Well, when it works for you, it works.
> So I don´t need your help at the moment. But I will keep it as record,
> in case I need it.
>
> Interestingly even I changed my /.authinfo file into /.authinfo.gpg
> it worked.
>
> I am happy,
> but unfortunately it takes many hours
> to set up every small step in Emacs and Gnus.
I agree, it takes time at the beginning, so I can urge you to read the
manuals carefully and try to solve one issue after the other.
Best, Arash
Footnotes:
[1] https://www.gnu.org/software/emacs/manual/html_mono/gnus.html#Posting-Styles
next prev parent reply other threads:[~2025-01-08 22:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-08 13:22 sending mail with gnus gfp
2025-01-08 14:03 ` gfp
2025-01-08 16:17 ` Leo Butler
2025-01-08 20:46 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2025-01-08 20:53 ` Arash Esbati
2025-01-08 22:11 ` gfp
2025-01-08 22:36 ` Arash Esbati [this message]
2025-01-09 3:30 ` Leo Butler
2025-01-09 9:16 ` gfp
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2cygxylu6.fsf@macmutant.fritz.box \
--to=arash@gnu.org \
--cc=gfp@posteo.at \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.