Our organization is switching to using Microsoft Exchange Server 2016. I previously automated sending emails directly from a Linux machine, using mail
, which works fine for in-house clients behind the same firewall. However, we're increasing getting outside clients that I have to manually send emails to. I want to be able to set up an email client on my Linux machine that I can script to send emails via my Microsoft Exchange account so that my emails are no longer blocked as SPAM.
I've been told that to work, "[e]mail clients must be able to support the robust MAPI/HTTP environment."
Thunderbird supports IMAP and POP.
What Linux clients support MAPI/HTTP?
Previously, I've just been using a script to generate an email and send it it using mail
:
cat email_message.txt | mail -s 'Data ready for download' -c [email protected] [email protected]
I did find mention of using Evolution for interacting with Microsoft Exchange, but it was from 2010 and seemed to be a GUI-based client instead of a command-line client.
I'm using a 64-bit Centos 7 machine, by the way.
php-horde-mapi
, if you're open to that path. I've no experiences with that, so I cannot give further hints – just vaguely remembered those ;)