2
在內部網中,我想存儲一個模板電子郵件列表以用於Outlook。如何使用php/html打開.msg與Outlook文件
<a href="Close.msg">Email Closure Template</a>
以下在瀏覽器中打開電子郵件,但在那裏我可以讓它在Outlook本身打開?
在內部網中,我想存儲一個模板電子郵件列表以用於Outlook。如何使用php/html打開.msg與Outlook文件
<a href="Close.msg">Email Closure Template</a>
以下在瀏覽器中打開電子郵件,但在那裏我可以讓它在Outlook本身打開?
您可以強制下載文件而不是在瀏覽器中打開。然後用戶將能夠用outlook打開它。但是你不能強制Outlook打開這個文件。
在你.htaccess
文件,你可以添加:
<Files *.msg>
ForceType application/octet-stream
Header set Content-Disposition attachment
</Files>
這取決於客戶端的配置。你不能用PHP強制這個。您可以配置每臺計算機以使用Outlook打開.msg。 –