Outlook-如何使用html作为模板(使用CSS) [英] Outlook - How to use html as a template (with css)

查看:1252
本文介绍了Outlook-如何使用html作为模板(使用CSS)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找Outlook的一些html模板,并且发现了 Cerberus 电子邮件基础,但是这些都没有告诉我如何实际使用它们.除非我完全失明.

I've been looking at some html templates for Outlook and I've found stuff like Cerberus and Foundation for emails, but none of these tell me how to actually use them. Unless I'm totally blind.

我已经尝试了显而易见的步骤.将文件附加到新消息中,然后选择附加为文本".这似乎是增加了html.但是响应式CSS似乎不起作用.我也尝试过在Word中打开html文件,然后将整个内容复制到新消息中.似乎给出了相同的结果.

I've tried the obvious steps. Attaching a file in a new message and selecting "attach as text". This adds the html is seems. But the responsive css doesn't seem to be working. I've also tried opening the html file in Word and just copying the whole thing in a new message. Which seems to give the same result.

我做错了什么?为什么对我来说实际上如何使用这些模板不是很明显?

What am I doing wrong? And why isn't it obvious to me how to actually use these templates?

推荐答案

去年,我们经历了类似的挑战.我们是一家Mac商店,但是我已经建立了相当大的VB插件,并自信地说Outlook的VBA是垃圾.

We went through a similar challenge last year. We are a Mac shop, but I have built sizeable VB addins and feel confident in saying that VBA for Outlook is rubbish.

我们有一个使用交换服务器的客户.我们必须代表他们发送电子邮件,并使用称为exchangelib的python库自动完成所有这些操作.它允许您定义一个漂亮的html模板,用您的变量填充它,然后将其发送出去.它也构成了我们所有电子邮件解析活动的基础……尽管不在此问题范围之内.如果您对Python选项感兴趣,我很乐意分享代码.

We have a customer that uses exchange server. We have to send emails on their behalf and we do all of this automatically using a python library called exchangelib. It allows you to define a nice html template, populate it with your variables, and then send things off. It also forms the basis for all of our email parsing activities...although not in scope for this question. I'm happy to share code if the Python option is of interest.

如果您不喜欢Python,则可以考虑使用MailChimp之类的工具或其他任何营销电子邮件提供商.我们也使用它们,很容易理解.

If you aren't into Python, you might consider something like MailChimp or any of those other marketing email providers. We also use them and it's quite easy to get through.

我希望这对您有任何帮助.

I hope this helps in any form.

这篇关于Outlook-如何使用html作为模板(使用CSS)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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