电子邮件访问报告为“正文” [英] Email Access Report as "Body"
问题描述
大家好,
i有一个新的有趣问题需要解决....
i有报告我想通过电子邮件发送到列表用户,
报告是一个完整的页面文档,并为每个用户个性化(基本上)多个用户可以拥有相同的电子邮件地址,因此我将创建一个记录集来列出所有用户(谁需要电子邮件)并循环通过用户并发送到相关的电子邮件地址,我有一些问题
1)目前报告设置为列出所有报告同样的报道......有道理吗?所以我只需要发送正确的页面......这可能吗?如果没有,那么我将不得不改变使用我前面提到的循环中的信息来构建。
2)最大的问题是我希望报告(以html格式发送)是电子邮件的正文,我试过这个:
Hello to all,
i have a new interesting problem to solve....
i have a report that i would like to email to a list of users,
the report is a full page document and is personalised to each user (basically) more than one user can have the same email address so i will create a recordset to list all of the users (who need the email) and loop through the users and send to the associated email address, i have a few problems
1)currently the report is set up to list all the reports in the same report.... make sense? so i would need to send only the correct page... is that possible? if not then i will have to alter the reprt to build using the info from my aforementioned loop.
2)the biggest obsticle is that i want the report (sent as html) to be the body of the email, i have tried this:
推荐答案
任何想法任何人?
干杯
Any ideas anyone?
Cheers
祝你好运从Access获得你想要的结果。我一直通过电子邮件从Access发送数据用于各种目的,但从来没有能够按照我想要的方式执行此操作。单独使用Access。最近,我一直在代码中构建HTML版本的报告,然后使用Redemption Outlook DLL或我在VB.NET中编写的DLL将其作为电子邮件的正文发送。
如果你愿意,我会为你整理一些示例VB.NET源代码...
good luck getting the result you want natively from Access. I send data from Access via email all the time for various purposes but have never been able to do it "the way I want" using Access by itself. More recently I have been building an HTML version of the report in code, then sending that as the body of an email using either the Redemption Outlook DLL or a DLL I wrote in VB.NET.
If you like I will put together some sample VB.NET source code for you...
如果可以,这将是有用的,但它需要一些解释如何我会实现它(并改变它),我没有VB.net的经验
如果你可以帮助那么这很好,如果没有那么我可以假设我只需要接受作为附件发送的报告?
That would be useful if you could, but it would need some explaining as to how i would implement it (and alter it) and i have no experience with VB.net
if you could help then that is great, if not then can i assume that i will just have to accept the report being sent as an attachment?
这篇关于电子邮件访问报告为“正文”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!