We have a hosted application that runs in our datacenter. We use the Partner API to integrate our application with SFDC. When we send an email from within our application (and from our servers), we’d like to record the email history in SFDC. This email history record should include the To, Cc, Bcc, Subject, Body and attached files (just like the Activity History that I see after I send an email in the Opportunity window).
Which object and/or methods should be used to create these email history records?