简体   繁体   English

有没有办法在Windows Phone中发送带有附件的电子邮件

[英]Is there any way to send email with attachment in windows phone

Its really frustating that EmailComposeTask doesn't have any way to send attachments. 真令人沮丧的是,EmailComposeTask没有任何发送附件的方法。 I googled this and found MailMessage dll. 我用谷歌搜索并找到MailMessage dll。 I don't know whether it is secure or not because user gonna send his password. 我不知道它是否安全,因为用户将发送密码。 Now I am thinking tot build my own service, send data from phone to service, and service will use smtp to send email with attachment. 现在,我正在考虑构建自己的服务,将数据从电话发送到服务,服务将使用smtp发送带有附件的电子邮件。 Now I want to ask, Am I right? 现在我想问,对吗? What kind of service I use? 我使用哪种服务?

I dont know about security concerns of MailMesssage.dll. 我不知道MailMesssage.dll的安全问题。
However, if you wish to send transactional EMails, then there are few services available. 但是,如果您希望发送交易电子邮件,则几乎没有可用的服务。 In such a case, you will not be required to create your own service. 在这种情况下,将不需要您创建自己的服务。 The popular one's are: 最受欢迎的是:

  • Sendgrid 森格
  • Mandrill by MailChimp MailChimp编写的Mandrill
  • MailGun by Rackspace Rackspace的MailGun

All services provide free tier and may be helpful, if you need to send, less EMails. 所有服务都提供免费服务,如果您需要发送邮件,则可能会有所帮助。 Moreover, besides SMTP , these services provide Web APIs , so you can send mails using REST interface. 此外,除了SMTP之外,这些服务还提供Web APIs ,因此您可以使用REST接口发送邮件。

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

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