如何使用Windows Phone 8中的电子邮件任务发送图像 [英] how to send image using email task in windows phone 8
问题描述
大家好,
在我的应用中,我想发送一些文字并通过邮件发送图片。我可以使用电子邮件任务向某人发送文本。但是如何在我的Windows Phone 8应用程序中使用电子邮件任务发送图像。图像托管在服务器的某处,我可以获取其URL。
In my app I want to send some text and send an image in mail. I can send text to some one using email task. but how can I send image using email task in my windows phone 8 app. Image is hosted somewhere at server and I can fetch its URL.
谢谢,
shah
推荐答案
因此,您无法使用&strong; EmailComposeTask 或使用其
正文属性发送带附件的邮件,因为只接受文字。
So, you cannot send mail with attachment with EmailComposeTask or using its Body property because only accepts text.
如果您想使用第三方软件,可以阅读
此博客。
If you want to use a third party software you can read this blog.
在Windows Phone 8.1中,你可以使用
new EmailAttachment
class 。
In Windows Phone 8.1 you can do it using the new EmailAttachment class.
希望有所帮助。
这篇关于如何使用Windows Phone 8中的电子邮件任务发送图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!