WYS
WYS

Reputation: 1647

MFMailComposeViewController get default user email "from" mail

I couldn't seem to find anywhere where people specifically say you cant get the default user mail from the MFMailComposeViewController. So I just create this thread to make sure.

Upvotes: 0

Views: 469

Answers (1)

iDev
iDev

Reputation: 23278

No there is no way to get the "From" id in MFMailComposeViewController. You can only set the "To" and "Cc" fields. This is understandable in cases where the "From" mail id you are planning to set is not configured in the device.

The device will auto fill the from field with the default mail id of the user. User can switch between different ids once the MFMailComposeViewController is presented.

Upvotes: 4

Related Questions