开发者

how to send email at backend of application in iPhone?

开发者 https://www.devze.com 2023-02-24 05:45 出处:网络
hi I want to send an email when user open the application but that email shoul开发者_运维问答d be sent at back end so that user can not judge that application send an email.

hi I want to send an email when user open the application but that email shoul开发者_运维问答d be sent at back end so that user can not judge that application send an email. any body can help me? thanx


Thanx to all of you, all of you helped me & all of you are right but i find a simple way to send an email.

The easiest way to do this thing is to write a small script on php that sends a mail & upload it on your hosting & just hit it whenever u need. You will hit the URL & it will send an email. Simple :)


If this is for the purpose of simply knowing that someone ran the program, I would check out www.Flurry.com, free analytics for your app and very easy to integrate. (I have no connection with Flurry except as a user.)

Sending e-mail behind the scenes is not hard, necessarily, but you have to basically establish a network connection to a server that has a mail server (MTA), and then you have to "speak" SMTP to it, and a whole lot of things can go wrong in the process. :-) (I spent 10 years writing e-mail servers, so I know of what I speak. :-)

Check out Flurry. :-)


You will need to use a third party library for that. The SDK doesn't allow you to send emails in the background.

Here's one you can use: http://code.google.com/p/skpsmtpmessage/

0

精彩评论

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