PHPを使用して動的にWord文書を作成していますが、添付ファイルとして送信する必要があります。
メールで送信するために一時的にサーバーに保存する方法はありますか?もっと良い方法はありますか?
<?php
header("Content-type: application/vnd.ms-word");
header("Content-Disposition: attachment;Filename=giftboxnote.doc");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
...other stuf...
</html>