Mail sent from outside Mail.app getting stuck in outbox

Originator:mail.junjie
Number:rdar://8306127 Date Originated:13-Aug-2010 02:31 PM
Status:Duplicate/8191692 Resolved:
Product:iPhone/iPod touch Product Version:4.0.2
Classification:Other Bug Reproducible:Always
 
Summary:
A Gmail account can be added as an IMAP or Exchange account in iOS. When the same account is added as both an IMAP and Exchange account on the iPhone, and the IMAP account disabled but not removed, all mail sent outside of the Mail.app (eg. Safari, 3rd party apps) gets stuck in the Outbox.

See complaints and workarounds: 
1) http://www.google.com/support/forum/p/Google%20Mobile/thread?tid=2e897d448ea639af&hl=en
2) http://discussions.apple.com/thread.jspa?threadID=2469497&start=75&tstart=0

Steps to Reproduce:
1) Add a Gmail account (with IMAP enabled within Gmail) via Settings.app > Mail, Contacts, Calendars > Add Account
2) Turn off both Mail and Notes syncing from the newly added account. Gmail IMAP account should show 'Inactive' in Mail, Contacts, Calendars
3) Next, add the same Gmail account as an Exchange account to enable push and calendar syncing following Google's instructions: http://www.google.com/support/mobile/bin/answer.py?answer=138740&topic=14252
4) Turn on Mail syncing with this newly added exchange account.
5) Set the 'Default Account' under Mail, Contacts, Calendars to the newly added exchange account
6) Launch Safari, navigate to www.apple.com (or any website)
7) Tap the '+' button from the toolbar below, and select 'Mail Link to this Page' from the action sheet
8) Enter an email address and send the mail out

Expected Results:
Mail should be sent out with a sound alert (if volume is not muted).

Actual Results:
Mail is not sent out. Launch Mail.app and the mail is stuck in the Outbox. Tapping refresh does not send the mails out. Tapping the unsent mails in the outbox individually and manually tapping Send sends them out.

Regression:
Emails do not get stuck when mail is sent directly from Mail.app. Problem only affects mails sent from outside Mail.app (such as Safari and other third party apps)

Notes:
Problem disappears when the Inactive IMAP account is removed entirely from Mail, Contacts, Calendars within Settings.app rather than left as Inactive.

Comments

Fixed in 4.2.1?

Anyone know if this is fixed in 4.2.1?


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!