简体   繁体   English

iOS:检测短信/电子邮件收件人

[英]iOS: Detect SMS / Email Recipients

Is it possible to check how many of the recipients of your mail or sms successfully received the message you are sending? 是否可以检查您的邮件或短信的收件人中有多少人成功收到了您要发送的邮件? For instance I will send an SMS to 5 people and only 3 people received the message actually, how can I programmatically identify the number of recipients that actually receives my message? 例如,我将向5个人发送短信,实际上只有3个人收到了该短信,我如何能够以编程方式识别实际接收我的短信的收件人数量? Please help me guys.. I'm really stuck with this.. 请帮帮我们..我真的被这个困住了..

For iOS application, the answer may be "NO". 对于iOS应用程序,答案可能是“否”。

However, I am sorry to disagreed with Nick. 但是,我很抱歉不同意尼克。 SMS was defined to have two-way communication between Message center and mobile terminal (MT). SMS被定义为在消息中心和移动终端(MT)之间具有双向通信。 End user should be allow to read the SMS recipient. 应允许最终用户阅读SMS收件人。

If you want more information, you can check GSM Technical Specification (phase2+). 如果您想了解更多信息,可以查看GSM技术规范(阶段2 +)。 http://www.etsi.org/deliver/etsi_gts/03/0340/05.03.00_60/gsmts_0340v050300p.pdf http://www.etsi.org/deliver/etsi_gts/03/0340/05.03.00_60/gsmts_0340v050300p.pdf

or in general language as following link: http://www.developershome.com/sms/sms_tutorial.asp?page=basicConcepts 或者以一般语言作为以下链接: http//www.developershome.com/sms/sms_tutorial.asp?page = basicConcepts

All the world mobile hand set developer (including Apple) should follow this industrial standard. 所有世界移动手持设备开发商(包括Apple)都应遵循这一行业标准。

I found the "SMS recipient" setting from other mobile device, but NO iPhone. 我从其他移动设备找到了“短信收件人”设置,但没有iPhone。

In short, SMS support 2-way messaging, but Apple do follow the rule. 简而言之,SMS支持双向消息传递,但Apple确实遵循规则。

It's not possible. 这是不可能的。 SMS messaging is a one-way data flow. SMS消息传递是一种单向数据流。 You send the message and the network will try to send it on. 您发送消息,网络将尝试发送它。 There is no receipt mechanism. 没有收据机制。

When they introduced iMessage, that has a delivery receipt mechanism (although it isn't always 100% correct) and can also mark if it has been read (if the recipient has read receipt turned on). 当他们介绍iMessage时,它有一个交付收据机制(虽然它并不总是100%正确),并且还可以标记它是否已被读取(如果收件人已打开读取收据)。 But that isn't available for you to access programatically. 但是,您无法以编程方式访问。

So, the short answer to your question is 所以,对你的问题的简短回答是

No. 没有。

For your information, but NOT yet evaluated: If build the SMS with your own application, you can try to add "heading" before as following link. 有关您的信息,但尚未评估:如果使用您自己的应用程序构建SMS,您可以尝试在以下链接之前添加“标题”。 Please share with us for you test with the message in this page after you try. 在您尝试之后,请与我们分享您在本页中的消息进行测试。

http://www.thinkjim.com/2008/07/sms-delivery-reports-on-iphone-3g.html http://www.thinkjim.com/2008/07/sms-delivery-reports-on-iphone-3g.html

As I want to have the answer too, so I just google around. 因为我也想得到答案,所以我只是谷歌周围。 and found a answer seem make sense. 并且发现答案似乎有道理。

This is the answer from offical iOS developer guide. 这是官方iOS开发人员指南的答案。 Wish this can help. 希望这可以提供帮助。

If the user requests that the message be sent, the system queues it for delivery and invokes the delegate object's messageComposeViewController:didFinishWithResult: method. 如果用户请求发送消息,则系统将其排队以进行传递,并调用委托对象的messageComposeViewController:didFinishWithResult:方法。 The result is one of “sent,” “cancelled,” or “failed.” 结果是“已发送”,“已取消”或“已失败”之一。

Details: http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/SystemMessaging_TopicsForIOS/Articles/SendinganSMSMessage.html#//apple_ref/doc/uid/TP40010416-SW1 详细信息: http//developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/SystemMessaging_TopicsForIOS/Articles/SendinganSMSMessage.html#//apple_ref/doc/uid/TP40010416-SW1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM