I need a function/method to send email from an iPhone App that does NOT require user interaction and does NOT invoke the Messaging UI (or any type of modal view). Similar functionality to a web page CGI for form handling. I am NOT looking for start to finish App development, I am a developer myself and am only looking for a Class of Methods to accomplish this one function.
Should be able to automatically gather required server information from users existing email settings (must test to confirm email settings/capabilities are available or else operate independently in no setting are available. Alternately, must be able to accept server settings (including users email account information) from user input in settings bundle, but prefer a method that does NOT require user set up. Further details to be discussed with developer based of limitations of Apples SDK API's. Must be able to open network connections and communicate with server to automatically send message. Recipients, subject line, and message body are all predetermined (hard coded as well as programmatically inserted). Must conform to SMTP standards so experience in network programing/scripting and communication with email servers is required. Prefer to send messages in HTML format.
Deliverables include ALL SOURCE CODE in an Apple SDK project format with a simple Nib file interface for testing purposes.
Must be written in Objective-C using CFStream and/or NSStream.. or other Objective-C Technology, use of C is acceptable. Must be compatible with iPhone OS 3.0 and above, as well as 2nd generation iPod Touch.
MUST be written using Apple's SDK ONLY! NO ADOBE OR THIRD PARTY SOFTWARE OR COMPILERS!