Sending mail on windows opens up Outlook

[email protected] Sun, 08 Nov 2020 12:03:20 +0000
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
Hello!

I am having the following troubles: when I send a mail in gnus via
message-send-and-exit Outlook opens up with the subject and TO
pre-filled from my message in gnus and the body in the clipboard.

As I specifically want to use gnus and not Outlook this really annoys
me. 

I am using Emacs on Windows with Spacemacs preconfigured. The
configuration for gnus does not state anything related to Outlook - I
have checked it.

I am using the following configuration to send my mail:
    (setq message-sendmail-function 'message-send-mail-with-sendmail)
    (setq message-sendmail-extra-arguments '("-a" "main"))
    (setq sendmail-program "C:/msys64/mingw64/bin/msmtp.exe")

On a Linux box I am using the exact same setup without any issues at
all. ... but of course I do not have Outlook there either.

Does anyone of you have any idea on what could cause such behavior?

Best regards,
Richard
signature.asc (application/pgp-signature, 487 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEDKBZFpJMEWsQ0HJrEgtnzX+1QHYFAl+n3uIACgkQEgtnzX+1
QHaFWgf+LJTUNK3Aaf2Q58QQEeY7a28sD93WqaQRiUbLrExLT8/37dKhqzP8luxO
9Q29H1baKFpWAbN4ECAwvEcGmoAhX7gG7WqWVsNZaRDRObsvDpArNoV9OvU0SE8L
S7KWpGWv6wHbDZY/F/YN7GGoj5LVEniubwdfL0pyFGTvCIixh2eUAU30Y+N7KQIl
ZnvpkW5HIkNdtIfxKSy32/G3HA5ii8YP5p3sHtXXB4r0t39aJ4zD/2TrLgHQsKak
wHuFR2uGE7FAuUwJrt7eFeQmEWGU0srkw96tPMw3MYobCH/djlwQHIrIkhqGUQPQ
vt+VSEeGw9+QvkLgYbr7dXRAkrxG3A==
=tnhU
-----END PGP SIGNATURE-----