电子邮件使用Access和VBA没有MAPI [英] email using Access and VBA without MAPI

查看:189
本文介绍了电子邮件使用Access和VBA没有MAPI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用VBA从Microsoft Access无人值守发送电子邮件。我了解内置方法SendObject使用MAPI表示安全提示,像Outlook配置的东西。由于我想使用任务计划程序来启动不同的报告,所以我偏离了MAPI,并希望采用其他一些解决方案。不是运输的申请,只是内部的。想法?

I would like to send email from Microsoft Access unattended using VBA. I understand that the built-in method "SendObject" uses MAPI meaning security prompts and something like Outlook configured. Since I want to use the Task Scheduler to kick off different reports, I’m leaning away from MAPI and would prefer some other solution. Not an application for shipping but just in-house. Ideas?

推荐答案

您将需要一个允许您发送电子邮件的SMTP服务器。然后您需要使用CDO消息对象。

You'll need an SMTP server that will allow you to send email. Then you need to use the CDO message object.

这篇关于电子邮件使用Access和VBA没有MAPI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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