i am sending a 开发者_如何学Cmail which having prefilled email body. I want that sender can't see the email body but the receiver can see.
You can't do this using these views. If you access the user's mailbox, the user gets the final word on what gets sent out using her accounts. You can pre-load it, but the user gets to see and change the recipients, body, basically everything.
If you want to send some other kind of email, you will have to either contact a server and have it create and send the email for you or you will have to actually connect to a mail exchange server that you have send rights to and send the email from there using SMTP protocol yourself. You won't be able to send the email as the user, however, or using the user's accounts or authorization.
精彩评论