简体   繁体   English

Outlook HTML电子邮件和日历约会

[英]Outlook html email and calendar appointment

I'm trying to achieve a way of sending a html email (with links) in outlook while also sending a related calendar appointment that goes directly into the users calendar without them having to open each individual .ics attachment. 我正在尝试实现一种在Outlook中发送html电子邮件 (带有链接)的方法,同时还发送直接进入用户日历的相关日历约会 ,而无需他们打开每个单独的.ics附件。

So far I have achieved several variations of this but none are exactly what are required. 到目前为止,我已经实现了此功能的几种变体,但实际上并不需要。

Problematic variations achieved: 问题变体:

  1. HTML email with .ics as attachment (the problem with this is that each .ics attachment must be opened by the user in order for it to be entered into the calendar. The user will get many of these emails every day and will not be bothered opening each attachment). 带有.ics附件的HTML电子邮件(问题是用户必须打开每个.ics附件才能将其输入日历中。用户每天都会收到许多此类电子邮件,因此不会受到打扰打开每个附件)。

  2. Sending the emails as HTML and then using the Exchange Web Service to automatically create appointments in the users calendar. 以HTML格式发送电子邮件,然后使用Exchange Web服务在用户日历中自动创建约会。 (I've subsequently been told that we will not have access to these user's password and that even if we did that they would change often) so I cannot use this method even though in my opinion it works the best. (随后有人告诉我,我们将无法访问这些用户的密码,即使我们这样做,他们也会经常更改),因此即使我认为这种方法效果最好,也无法使用此方法。

  3. Appointment going directly into calendar but the HTML does not display links. 约会直接进入日历,但HTML不显示链接。 This is ideally what I want but I can't get the alternate views to work using html and a calendar so the links in the body of the email don't work. 理想情况下,这是我想要的,但是我无法使用html和日历来使用备用视图,因此电子邮件正文中的链接不起作用。

  4. Sending the calendar in directly in the email and having an inline html document attachment. 将日历直接发送到电子邮件中,并具有嵌入式html文档附件。 Again the problem with this is that although the appointment is entered automatically the html must be double clicked to open it. 再次出现的问题是,尽管自动输入了约会,但必须双击html才能打开它。

I've also looked into putting the HTML in the appointment but calendar appointments only accept plain text or RTF. 我还考虑将HTML放入约会中,但日历约会仅接受纯文本或RTF。

If anybody could help me achieve this either through point 3 above (alternate views) or if you have any other suggestions as to how to approach this I would be very grateful. 如果有人可以通过以上第3点(替代观点)帮助我实现这一目标,或者您对如何实现此目标还有其他建议,我将非常感谢。

I am surprised you can automatically populate a users calendar with ics items as this presents a security risk for the users system. 令您惊讶的是,您可以自动用ics项目填充用户日历,因为这会对用户系统造成安全风险。 A user should have control whether a file attachment is allowed to be opened by their system. 用户应该控制他们的系统是否允许打开文件附件。 I realise .ics files contain ICAL formatted text and not binary data but the user should still have the option. 我意识到.ics文件包含ICAL格式的文本,而不是二进制数据,但是用户仍然可以选择。 At the very least you should not be able to enter links in the calendar items as this could be easily exploited by spammers. 至少您不应在日历项中输入链接,因为垃圾邮件发送者很容易利用此链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM