确定电子邮件是否是在使用 Blackberry Invoke API 调用的电子邮件客户端上发送的
我正在开发一个应用程序,允许用户通过电子邮件发送一些信息,例如电话会议详细信息。我使用调用 API 打开一个预先填充信息的电子邮件客户端,以便用户可以自由地添加更多内容并选择自己的收件人。要求是他在发送邀请后加入/不加入电话会议。
但是,我想让他选择加入或不加入,只有当他发送了邀请时。
我可以通过任何方式知道他已使用客户端发送了一封电子邮件。
我不确定是否要使用 Transport api,因为我不知道收件人。另外,我不知道也不确定是否要搜索发送的项目(以编程方式?),因为我不会关联正确的消息(因为用户可能更改了主题和正文内容)
谢谢, 达克希纳
I'm developing an application that allows users to email some information like conference call details. I'm using invoke API to open up a email client with the information pre-filled so as to give user freedom to add more content and choose his own recipients. The requirement is he join/not joins the conference call once he sends the invite.
However, I would want to give him the option to join or not join only if he has sent an invite.
Any way I can know that he has sent an email using the client.
I'm not sure I want to use Transport api as I'm not aware of the recipients. Also I'am not aware and sure if I want to search sent items(programatically?) as I won't be co-relate the right message(since user could have altered the subject and body content)
Thanks,
Dakshina
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以收听已发送的消息并检查用户是否已发送此消息。
但它只是“发送”操作的监听者。我曾经花了一些时间才弄清楚,如果网络有问题,你的消息没有真正发送出去,那么真正发送出去的时候你是无法收到通知的。
看看:
http://www.blackberry .com/developers/docs/4.6.0api/net/rim/blackberry/api/mail/SendListener.html
You can listen to sent messages and check if the use has sent this one.
But it is only a listener to the action "Sent". I once lose some time to figure out that if there is a network problem and your message is not really sent, you cannot be notify when it is really sent.
Have a look:
http://www.blackberry.com/developers/docs/4.6.0api/net/rim/blackberry/api/mail/SendListener.html