Shellexecute邮件收件人 [英] Shellexecute Mail Recipient

查看:93
本文介绍了Shellexecute邮件收件人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Shellexecute邮件收件人

<表align =中心边框= 0 cellpadding = 2 cellspacing = 0 width = 600>

我有一个有趣的问题.

在Windows EXPLORER中,用户 可以在MOST文件类型上,使用鼠标右键单击任何文件 ->然后选择发送到". ->然后选择邮件收件人"

我的问题是这个.
鉴于我具有要邮件接收人"的文件的路径和文件名,我该如何从代码中实现这一点? ?

是否有可以执行此操作的shellexecute


解决方案

在这里,我遇到了同样的问题,每个人都在告诉我要使用以下代码从我的代码中发送指令: System.Net.Mail "
但作为您说有时需要将其从Outlook发送出去,只是因为您可能需要用户在列表中添加更多人,或者可能在文本中输入更多信息,然后再发送带有文件的邮件:

http://www.codeproject.com/KB/IP/SendFileToNET .aspx


Shellexecute Mail Recipient


I have an interesting Question.

In Windows EXPLORER the user can, on MOST File Types, Click on any file with the Right-Mouse-Button -> Then Select "Send To" -> and Then Select "Mail Recipient"

Windows will then Launch the default Mail application (( if installed )) ready to send file in an E-Mail as an attachment.

My Question is this.
How can i achieve this from Code given that i have the Path and FileName of the File i want to "MAIL RECIPIENT" ?

Is there a shellexecute that can do this

 

解决方案

Here you have, I had the same problem and everyone was telling me to send directry from my code using: "System.Net.Mail"
But as you said sometimes is needed to send it from the outlook just because you may need the user to add more people to the list or maybe to type more information to the text before sending the mail with the file:

http://www.codeproject.com/KB/IP/SendFileToNET.aspx


这篇关于Shellexecute邮件收件人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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