Sending email via Exchange
I've written an app for viewing information/reports generated off a local SQLite database via a Bottle web server interface. It works well and pull down updated databases from Dropbox etc.
I've also got a facility whereby it can send an HTML report via email from my gmail account.
However, I need to distribute it in a MS Exchange corporate environment, so it would be much cleaner if I could send directly via my Exchange account.
I can't seem to get it to work though. Ideally I'd like to leverage the ios mail client and credentials.
ccc last edited by
Alternatively, you could consider something like http://stackoverflow.com/questions/882712/sending-html-email-using-python IF your Exchange Server is configured for SMTP.
Of course, I hadn't thought of a mailto: option. Very neat. I will give it a shot.
Unfortunately it doesn't work in my situation because mailto doesn't accept HTML content, only plain text.
I may have to do a hack using mailto to bring up the mail client with email addresses and subject. I would put the HTML content on the clipboard and rely on a manual paste.