Search code examples
iphoneemailsdkmessagebcc

How to send BCC via MFMailComposeViewController in iPhone SDK?


One part of my app sends an e-mail with an attachment. I'm using the MFMailComposeViewController class, and all is well.

I just would like to know if I can send a stealth BCC message to myself, just for statistics purposes to keep track of how many messages have been sent.

Thank you!

UPDATE: the user tc didn't understand what I was trying to accomplish. I DON'T WANT TO INVADE USER'S PRIVACY. I just need to keep track of EVENTS ON MY APP. I didn't make myself clear on what I needed.


Solution

  • How about the setBccRecipients: method on your instance of MFMailComposeViewController?

    Depending on the content of the e-mail message being composed, you might want to re-think sending a Bcc to yourself, unbeknownst to your users... Just sayin'...