iOS-自动发送电子邮件(不是来自用户帐户) [英] iOS - Send an email automatically (NOT from user's account)

查看:66
本文介绍了iOS-自动发送电子邮件(不是来自用户帐户)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何从应用程序自动向我自己发送电子邮件,而不是从用户帐户发送电子邮件(如果没有用户交互,这是不可能的),而是从我的另一个电子邮件ID(在代码中提供了用户名和密码)发送电子邮件给我?

How can I send an email automatically from an app, to myself, NOT from the user's account(that is not possible without user interaction), but from another email id of mine(with username and password given in the code)?

推荐答案

是的,您可以在没有用户干预的情况下发送电子邮件.但是您必须在服务器端使用SMTP服务.

Yes, you can send email without user interation. But you have to make use of SMTP services on your server side.

请参阅: http://iosameer.blogspot.in/2013/01/sending-e-mail-in-background-from-ios_25.html

这篇关于iOS-自动发送电子邮件(不是来自用户帐户)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆