简体   繁体   English

通过电子邮件发送HTML网站?

[英]Send a HTML site by email?

It is possible to send an entire site (that has only 1 image, a logo) via mail?, the workflow would be: 是否可以通过邮件发送整个网站(只有1张图片,一个徽标),工作流程为:

  • user opens the mail 用户打开邮件
  • user sees the attachment "html" file 用户看到附件“ html”文件
  • user clicks the attachment, the browser opens. 用户单击附件,浏览器将打开。

I have no idea if this is possible. 我不知道这是否可能。

Another thing, this has to work on mobile, iOS more precisely. 另一件事,这必须更精确地在移动iOS上运行。

Until now we were sending interactive pdfs to the users, but now we want to include iOS users as well, so this strategy could work, if it works of course. 到目前为止,我们一直在向用户发送交互式pdf,但现在我们也希望包括iOS用户,因此,如果可以的话,这种策略就可以奏效。

And unfortunately, no, I can't send a link to a website, it has to work this way, for reasons that are beyond my decision. 不幸的是,不可以,我无法发送链接到网站,它必须以这种方式工作,原因超出了我的决定。

You have three options: 您有三种选择:

  1. Send a link to your website. 发送链接到您的网站。

  2. Send the mail with an attachment of the HTML of your website. 发送带有您网站HTML附件的邮件。 (since it is simple, you said just 1 image and logo it can fit in one HTML file). (因为很简单,您只说了一张图片和徽标就可以放在一个HTML文件中)。

  3. Send an HTML formatted email, where you display the image and the logo. 发送HTML格式的电子邮件,在其中显示图像和徽标。

If you want it to work on mobile, just use media querys for it to change styles depending on widht and height of the device. 如果您希望它在移动设备上运行,只需使用媒体查询对其进行更改即可根据设备的宽度和高度来更改样式。

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

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