This works and can be interfaced to Qt but it requires user interaction.
http://www.appcoda.com/ios-programming-101-send-email-iphone-app/
Sorry, I do not know how to send mail on iOS silently without user interaction. I would like to know if possible.
-Ed