System.net.mail系统库中缺少?有时? [英] System.net.mail Missing from System library? sometimes?

查看:63
本文介绍了System.net.mail系统库中缺少?有时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.我正在开发一个非常小的系统,用于MDA(运行寡妇5的智能设备).从理论上讲,一旦所有问题都得到答复,则smtp消息会将响应发送到预定的电子邮件地址,该地址会将数据传输到访问数据库中.

我已经成功创建了一个标准" Windows窗体系统,并使用代码段"发送了电子邮件,但是我已经添加了对系统的引用并将其导入到代码中,但是system.net .mail不被接受,表示它不是系统"项.但是system.net确实存在.甚至代码段解决方案也无法使用.

我考虑过使用poom,但是找不到任何vb代码示例来尝试.

您可能已经猜到我对此并不陌生.
>
顺便说一下,我在Visual Studio 2008上运行Vista64.

感谢阅读本文,我只是希望有人能指出正确的方向.
Trev

Hi Everyone.

I have been developing a very small system for use on an MDA (smart device running widows 5). The theory being that once all the questions have been answered a smtp message sends the responses to a pre-determined email address where the data is transferred into an access database.

So far development has been fine, however the problem comes on the email front.

I have successfully created a 'standard' windows forms system and used the 'snippet' to email yet I have added the reference to system and imported same into the code, however system.net.mail is not accepted, saying it is not an item of 'system'. Yet system.net does exist. Even the snippet solution will not work

I have considered using poom, but can not find any vb code samples to try.

As you may have guessed I'm new to this.

By the way I am running Vista 64 with Visual Studio 2008.

Thanks for reading this, I just hope someone can point me in the right direction.

Regards

Trev

推荐答案

1)您是否已更新/更改了.Net Framework?
2)Windows窗体是否使用Compact创建. net Framework-适用于Windows Mobile?
3)从第一天开始,您会遇到这个问题吗?这是断断续续的吗?

您知道吗?

您知道吗...根据 .NET Framework和.NET Compact Framework不支持每个平台的所有版本.有关受支持版本的列表,请参见 .NET Framework系统要求 ."

我们需要了解.net框架& .net framework compact是两个实体,具有两个不同的用途.

如果要尝试使用POOM,请使用以下API:Microsoft.WindowsMo​​bile.PocketOutlook.这样可以访问Outlook Mobile数据.这包括约会,联系人,电子邮件,SMS消息,任务.

希望对您有所帮助.

1) have you updated/changes to .Net Framework?
2) Does the windows forms created using Compact .net Framework - meant for Windows Mobile?
3) From day 1, do you face the issue? is this intermittent one? Have you noticed anytime this is working/worked?

Do you know... As per http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx, "... The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements."

We need to understand that .net framework & .net framework compact are two entities and serves two different purposes.

If you want to try with POOM, use the API: Microsoft.WindowsMobile.PocketOutlook. This enables access to Outlook Mobile data. This includes appointments, contacts, e-mail, SMS messages, tasks.

Hope this helps.


这篇关于System.net.mail系统库中缺少?有时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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