Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

emaildialog works in simulator but not on phone???

In my code, a button opens an email dialog. It works great in the iphone simulator, but never appears in my actual iphone (3g, running os4.0)

I've got alerts popping up before and after, just to troubleshoot, and both alerts appear, but no emaildialog.

I've even tried it in a blank test project with nothing else going on, and still nothing on the phone.

Is this an OS4 bug? and why would the simulator do it…?

David Hoare

— asked July 22nd 2010 by david hoare
  • emaildialog
  • ios4

2 Answers

  • Accepted Answer

    If you don't have a mail account set up for the phone, it does nothing. I experienced that when i first got my iphone 4.

    — answered July 22nd 2010 by Daniel Lim
    1 Comment
    • It works for me, do you know if there's a way to check if a mail account exist?

      — commented December 15th 2011 by Claudio Carlenzoli
  • I have come across this issue today, too.
    Is there any way to catch this? If the user clicks a button in my Ti App to send an email, I would like to give the user feedback that he has to create an account first.

    — answered July 19th 2011 by Peter Hamm
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.