Thanks to a commenter in my earlier blog post for pointing me to this way of sending mail that actually does work:
You need to download msstp from sourceforge and install the exe in your path.
There is one change I needed to make to get this working. In the config file:
You need to add a line
Without that I was getting an error number and no email. If you run into a problem like that you can make sure MSSTP is running by trying it from the command line:
msmtp -a yourname email@example.com
Type some mail and hit Ctrl-Z and it should send correctly.
Once that is working you can enter gnus within emacs, and send a mail using:
Fill out the fields and type C-c C-c and it should send correctly.
A security issue with this is that it doesn't seem to work if you leave your password empty in the configuration file. From the command line it simply prompts you for your password and away you go, but from emacs it just hangs. So if you use this method you're taking the huge risk of having your password in a readable file on the hard drive. I'll be trying to find a way around that before using this permanently.
Tags: emacs smtp sending mail windows win32