Am 25.02.26 um 15:38 schrieb [email protected]:
gfp <[email protected]> writes:


gfp <[email protected]> writes:

this came up
and I tried to change that, but it didn´t help.

⛔ Warning (mail): The default mail mode is now Message mode.
You have the following Mail mode variables customized:

    mail-setup-hook mail-send-hook

To use Mail mode, set ‘mail-user-agent’ to sendmail-user-agent.
To disable this warning, set ‘compose-mail-user-agent-warnings’ to nil.


Hi,

I changed the settings in "Mail user agent"
see screenshot

and now bbdb works again.


Setting the user option ‘mail-user-agent’ is (lightly)
documented here:

    (info "(emacs) Mail Methods")

Unfortunately, the user option ‘message-mail-user-agent’ is
not documented in the Emacs user manual, the Gnus user
manual, or the Message user manual.

When you customized these two variables and saved them using
the ‘Apply and Save’ button, then Emacs will have written a
(custom-set-variables ...) expression to your Emacs
initialization file.  If you look in your Emacs
initialization file, you should find them there.

I put that in my gnus.el:

(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "smtp.yourProvider.net")

Because these three variables are user options, each
instance of ‘setq’ should be replaced with ‘setopt’
(see C-h f setopt).


 (setopt send-mail-function 'smtpmail-send-it)
 (setopt message-send-mail-function 'smtpmail-send-it)
 (setopt smtpmail-default-smtp-server "smtp.yourProvider.net")
 I made it that way, its easier for me,
because the second option (underneath) can again result in problems if I make a mistake.

Or, you could delete them from your .gnus.el and customize
them using the "Easy Customization", as you did for
‘mail-user-agent’ and ‘message-mail-user-agent’.  If you do
that, then Emacs will add your customizations to the
(custom-set-variables ...) expression in your Emacs
initialization file.



In my custom.el file the options are visible:

 '(mail-host-address "posteo.de")
 '(mail-user-agent 'gnus-user-agent)
 '(message-mail-user-agent nil)
 '(package-selected-packages
   '(babel bind-key dockerfile-mode eev ef-themes free-keys htmlize
           icicles markdown-mode pdf-tools rcd-paps scanner
           whole-line-or-region))
 '(ps-font-size 10.0)
 '(send-mail-function 'smtpmail-send-it)
 '(show-trailing-whitespace t)
 '(size-indication-mode t)
 '(smtpmail-smtp-server "posteo.de")
 '(smtpmail-smtp-service 587)


thanks

Gottfried

Attachment: OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

    • ... Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
  • ... Nickolai Dobrynin
    • ... Bob Newell
  • ... Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)

Reply via email to