以编程方式发送电子邮件时,如何避免Outlook的安全警告? [英] How can I avoid Outlook's security warning when sending email programmatically?

查看:289
本文介绍了以编程方式发送电子邮件时,如何避免Outlook的安全警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过Outlook通过VB.Net 2005发送电子邮件;这是正常工作。

但是,同时我收到以下消息:



程序正在尝试自动发送电子邮件。

你想允许这个吗?

如果这是预期的,可能是病毒,你应该选择否。



有没有办法避免这种情况?

解决方案

这是按设计。这样做是为了防止病毒做一些事情,例如通过通讯录,并自动发送用户的电子邮件。使用该对话框可以防止病毒成为垃圾邮件机器人。


I send email through Outlook using VB.Net 2005; this is working fine.
At the same time, however, I receive the following message:

A program is trying to automatically send Email on your behalf.
Do you want to allow this ?
if this is enexpected, it may be virus and you should choose no.

Is there any way to avoid this?

解决方案

This is "by design". It's done to prevent viruses from doing things like going through the address book and automatically sending emails on the user's behalf. Having the dialog prevents a virus from silently becoming a spam bot.

这篇关于以编程方式发送电子邮件时,如何避免Outlook的安全警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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