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
+2
A:
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...
lukya
2010-09-08 05:40:52
thanks i hope u r right
pankaj kainthla
2010-09-08 05:45:22
+1
A:
hello Panakaj...
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...
Suriya
2010-09-08 05:41:21
thanks i hope u r right and can u plz tell can we schedule our mail to send with iphone sdk
pankaj kainthla
2010-09-08 05:44:17
Dont hope.. I am 110% correct in the above case... By schedule Do you mean that you wanna send the mail after several interval of time?
Suriya
2010-09-08 06:08:39
yes i can use a date picker for that but how to connect the two so that mail can send automatically
pankaj kainthla
2010-09-08 06:30:12
cannot send mail automatically as for sending mail mail composer needs to be opened. The thing you can do is send the time and mailcontent to the server and do the coding of sending mail automatically on serverside maybe PHP. As per my knowledge(correct me if i am wrong) We cannot send mails automatically or without opening composer
Suriya
2010-09-08 06:54:00