Pankaj Kainthla
Pankaj Kainthla

Reputation: 2489

mail could not send through iphone sdk?

i want to send mail through iphone sdk i know there are lots of answers here on stack overflow but it does not work ,i downloaded the mail composer app from apple site and ran in my simulator ,it displaye that mail has been sent but i dont get it on my email address

Upvotes: 0

Views: 639

Answers (2)

Suresh Varma
Suresh Varma

Reputation: 9740

YOU CANNOT send mails through simulator. It just shows mail sent for the acknowledgement that your mail code is working and wont crash or have any errors..

For testing you have to use device. SIMULATOR shows you the composer but will never send mail as the mailclient is not installed in it..

hAPPY cODING...

Upvotes: 2

Swapnil Luktuke
Swapnil Luktuke

Reputation: 10475

You cannot test mail and message compose controllers in simulator. Mail composer uses the default mail account set up on your device to send the mail. There is no mail account set up in the simulator.

Test it on device...

Upvotes: 2

Related Questions