邮件中是否有.net 2.0中的任何对象? [英] Is there any object in .net 2.0 for mail?

查看:58
本文介绍了邮件中是否有.net 2.0中的任何对象?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找创建邮件消息的对象并传递给我在SMTP服务器上运行的另一个函数(这样我们就不必在每个客户端上配置SMTP服务器)。在vb.net 2005中是否有任何方法或对象让我们创建一个邮件对象并将其传递给另一个函数,在那里我可以解析所有字段?

Hi, I am looking to create an object of a mail message and pass to to my another function running on my SMTP server (so that we dont have to configure SMTP server on our each client). Is there any way or object out there in vb.net 2005 that let us create an object of a mail and pass it to another function, where i can parse all the fields?

推荐答案

你很幸运,有一篇文章用于在.NET中发送邮件。
http://www.thescripts.com/forum/thread648873.html
You are in luck, there is a whole article for sending mail in .NET.
http://www.thescripts.com/forum/thread648873.html



我期待创建一个邮件消息的对象并传递给我在我的SMTP服务器上运行的另一个函数(这样我们就不必在每个客户端上配置SMTP服务器)。在vb.net 2005中是否有任何方法或对象让我们创建一个邮件对象并将其传递给另一个函数,在那里我可以解析所有字段?
Hi, I am looking to create an object of a mail message and pass to to my another function running on my SMTP server (so that we dont have to configure SMTP server on our each client). Is there any way or object out there in vb.net 2005 that let us create an object of a mail and pass it to another function, where i can parse all the fields?



我建议创建一个网络服务,为你发送电子邮件...


在你的窗口中有你的功能应用程序创建电子邮件消息的正文,并收集到消息。和来自信息....然后让您的功能将该信息发送到您的Web服务,该服务将为您发送电子邮件(按照Plater建议您阅读的文章,了解如何发送电子邮件的说明)


干杯!


-Frinny

I suggest creating a web service that will send the email for you...

Have your function in your windows application create the body of the email message, and collect the "to" and "from" information....then have your function send that information to your web service which will send the email for you (follow the article that Plater has suggest you read for instructions on how to send an email)

Cheers!

-Frinny



我建议创建一个网络服务将为您发送电子邮件...


让您的Windows应用程序中的功能创建电子邮件的正文,并收集到和来自信息....然后让您的功能将该信息发送到您的Web服务,该服务将为您发送电子邮件(按照Plater建议您阅读的文章,了解如何发送电子邮件的说明)


干杯!


-Frinny
I suggest creating a web service that will send the email for you...

Have your function in your windows application create the body of the email message, and collect the "to" and "from" information....then have your function send that information to your web service which will send the email for you (follow the article that Plater has suggest you read for instructions on how to send an email)

Cheers!

-Frinny



嘿伙计们,非常感谢您的回复。

Frinavale,这是我想要的。我想将所有邮件信息发送到我的网络服务,这个网络服务将发送电子邮件。你有任何文章解释如何做到这一点?非常感谢。

Hey guys, Thanks very much for your reply.
Frinavale, That is exectly what i want. I want to sent all the mail information to my web service and and this web service will sent the emails out. Do you have any article that explains how to do this? Thanks very much.


这篇关于邮件中是否有.net 2.0中的任何对象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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