如何在Windows Mobile中向某人发送邮件......? [英] How to send mail to someone in windows mobile...?

查看:143
本文介绍了如何在Windows Mobile中向某人发送邮件......?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想申请用户将邮件发送给其他人....任何人都可以帮我完成这项任务.....

解决方案




因为你没有添加太多细节我不得不做一些猜测工作。

我假设你想用现有账户发送电子邮件,处理你自己的应用程序中的所有内容,如邮件主题,发件人,收件人和内容。



如果我的假设是真的那么我强烈建议你看一下 SmtpClient MailMessage 类,它们都可以在 System.Net.Mail [ ^ ] .Net Framework的命名空间。

基本上有一个 SmtpClient 它可以发送 MailMessage MailMessage MailAddress ,或者,如果电子邮件发送给多个接收者,则邮件发送到的MailAddressCollection (CC和BCC相同)。与每个通常的电子邮件一样,您可以决定 MailMessage 是否格式化为纯文本或HTML格式,具有哪些优先级并添加附件。





希望我有所帮助。



欢呼,

Marco Bertschi

i want to make application in which user send the mail to other person....any one give me help for this task.....

解决方案

Hi
since you have not added much details I had to do some guess-work.
I assume you want to send the email using an existing account, handling everything such as message subject, sender, receiver and content in your own application.

If my assumption is true then I highly recommend you to have a look at the SmtpClient and the MailMessage class which both can be found in the System.Net.Mail[^] namespace of the .Net Framework.
Basically there is a SmtpClient which can send a MailMessage. The MailMessage has a MailAddress or, if the email goes to more than one receiver, a MailAddressCollection to which the email is sent (Same for CC and BCC). As in every usual email you can decide if the MailMessage is formatted as plain text or HTML, which priority it has and add attachments to it.


Hope I was helpful.

cheers,
Marco Bertschi


这篇关于如何在Windows Mobile中向某人发送邮件......?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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