用户的邮件编辑器 [英] User's Mail Editor

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

问题描述

我正在使用以下来自此新闻组的代码来启动

用户的默认电子邮件编辑器,它运行正常。但是,我想

将一个文件附加到编辑器(比如使用word作为编辑器)


Dim psi作为新的ProcessStartInfo

psi.UseShellExecute = True

psi.FileName =" mailto:" &安培; HttpUtility.UrlEncode([To])&

"?subject =" &安培;主题& "&安培;主体= QUOT; &安培;消息

Process.Start(psi)


我对变量使用什么(比如& body用于文本正文)?

-

休斯顿丹尼斯

I am using the following code that I got from this newsgroup to start a
user''s default e-mail editor and it works ok. However, I would like to
attach a file to the editor (like using word as editor)

Dim psi As New ProcessStartInfo
psi.UseShellExecute = True
psi.FileName = "mailto:" & HttpUtility.UrlEncode([To]) &
"?subject=" & Subject & "&body=" & Message
Process.Start(psi)

What do I use for the variable (like &body is used for the text body)?
--
Dennis in Houston

推荐答案

丹尼斯,


你不能使用这种方法。


你绝对不是第一个问这个的人。


这是调用的代码默认的邮件客户端,无论是什么,即使它没有像Outlook Express和Office Outlook那样没有mailattachment。


你的解决方案是使用webmail,但是你的用户不会看到邮件。或Office Outlook互操作。并且只有拥有Office的用户才能使用这个


我知道它无助于此,


Cor

" Dennis" <德**** @ discussions.microsoft.com> schreef in bericht

新闻:DF ********************************** @ microsof t.com ...
Dennis,

You cannot using this method.

You are absolute not the first one who ask this.

This is code to call the default mail client, whatever this is even if it
has no mailattachment as Outlook Express and Office Outlook have.

Your solution for this is using the webmail, however than your user does not
see the mail. Or Office Outlook interop. And than only users who have Office
Outlook can use that

I know it helps nothing however,

Cor
"Dennis" <De****@discussions.microsoft.com> schreef in bericht
news:DF**********************************@microsof t.com...
我使用以下代码从这个新闻组中启动一个
用户的默认电子邮件编辑器,它运行正常。但是,我想将一个文件附加到编辑器上(比如使用word作为编辑器)

Dim psi As New ProcessStartInfo
psi.UseShellExecute = True
psi .FileName =" mailto:" &安培; HttpUtility.UrlEncode([To])&
"?subject =" &安培;主题& "&安培;主体= QUOT; &安培;消息
Process.Start(psi)

我对变量使用什么(比如& body用于文本正文)?
-
丹尼斯在休斯顿
I am using the following code that I got from this newsgroup to start a
user''s default e-mail editor and it works ok. However, I would like to
attach a file to the editor (like using word as editor)

Dim psi As New ProcessStartInfo
psi.UseShellExecute = True
psi.FileName = "mailto:" & HttpUtility.UrlEncode([To]) &
"?subject=" & Subject & "&body=" & Message
Process.Start(psi)

What do I use for the variable (like &body is used for the text body)?
--
Dennis in Houston



谢谢你的回答。我一直在搜索谷歌并确实找到了

,这是不可能的。还有一个问题,如果我正确读谷歌,

我必须在我的电脑上安装IIs才能使用System.web.mail类

发送电子邮件......这是对的吗?

-

休斯顿的丹尼斯

" Cor Ligthert [MVP]"写道:
Thanks Cor for you answer. I''ve been searching Google and did find out
where this is not possible. Just one more question, If I read Google right,
I have to have IIs installed on my computer to use the System.web.mail class
for sending e-mail...is this correct?
--
Dennis in Houston
"Cor Ligthert [MVP]" wrote:
丹尼斯,

你不能使用这种方法。

你绝对不是第一个问这个的人。

这是调用默认邮件客户端的代码,无论是什么,即使它没有像Outlook Express和Office Outlook那样的软件附件。

你的解决方案是使用网络邮件,但是你的用户没有看到邮件。或Office Outlook互操作。而且只有拥有Office
Outlook的用户才能使用它

我知道它无助于此,

$

" Dennis" ; <德**** @ discussions.microsoft.com> schreef in bericht
新闻:DF ********************************** @ microsof t.com。 ..
Dennis,

You cannot using this method.

You are absolute not the first one who ask this.

This is code to call the default mail client, whatever this is even if it
has no mailattachment as Outlook Express and Office Outlook have.

Your solution for this is using the webmail, however than your user does not
see the mail. Or Office Outlook interop. And than only users who have Office
Outlook can use that

I know it helps nothing however,

Cor
"Dennis" <De****@discussions.microsoft.com> schreef in bericht
news:DF**********************************@microsof t.com...
我使用以下从这个新闻组获得的代码来启动
用户的默认电子邮件编辑器,它运行正常。但是,我想将一个文件附加到编辑器上(比如使用word作为编辑器)

Dim psi As New ProcessStartInfo
psi.UseShellExecute = True
psi .FileName =" mailto:" &安培; HttpUtility.UrlEncode([To])&
"?subject =" &安培;主题& "&安培;主体= QUOT; &安培;消息
Process.Start(psi)

我对变量使用什么(比如& body用于文本正文)?
-
丹尼斯在休斯顿
I am using the following code that I got from this newsgroup to start a
user''s default e-mail editor and it works ok. However, I would like to
attach a file to the editor (like using word as editor)

Dim psi As New ProcessStartInfo
psi.UseShellExecute = True
psi.FileName = "mailto:" & HttpUtility.UrlEncode([To]) &
"?subject=" & Subject & "&body=" & Message
Process.Start(psi)

What do I use for the variable (like &body is used for the text body)?
--
Dennis in Houston




丹尼斯,


这个着名的页面。<

http://www.systemwebmail.net/


我希望这会有所帮助,


Cor
Dennis,

This famous pages for that.

http://www.systemwebmail.net/

I hope this helps,

Cor


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

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