开发者

mail could not send through iphone sdk?

开发者 https://www.devze.com 2023-01-15 00:54 出处:网络
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 th开发者_StackOverflow中文版e mail composer app from apple site and ra

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 th开发者_StackOverflow中文版e 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


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...


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...

0

精彩评论

暂无评论...
验证码 换一张
取 消