node-red-nodes/social/email/locales/ja/61-email.html

41 lines
3.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- Source revision: https://github.com/node-red/node-red-nodes/commit/45e4c6d9d44b4e62b4be6b3e04728ebe306579f2 -->
<script type="text/html" data-help-name="e-mail">
<p><code>msg.payload</code>email<code>msg.topic</code></p>
<p>メッセージの受信者のデフォルトはノードに設定できます空のままとした場合は入力メッセージの<code>msg.to</code><code>msg.cc</code><code>msg.bcc</code><code>msg.replyTo</code><code>msg.inReplyTo</code><code>msg.references</code></p>
<p><code>msg.from</code><code>ID</code></p>
<p>ペイロードはHTML形式とすることも可能です</p>
<p>ペイロードにバイナリバッファを指定すると添付ファイルに変換しますファイル名は<code>msg.filename</code><code>msg.description</code></p>
<p><code>msg.attachments</code>に<a href="https://www.npmjs.com/package/nodemailer#attachments" target="_new">nodemailer</a>1</p>
<p>受信側で必要な場合には<code>msg.envelope</code>fromto</p>
<p>自己署名証明書を用いる場合Nodemailerはメッセージ送信を拒否することがありますその際はTLSを無効にしてみてください</p>
<p>: SMTP over SSLを465番ポートで利用</p>
</script>
<script type="text/html" data-help-name="e-mail in">
<p>IMAPサーバから<b>emailを一件</b></p>
<p>件名を<code>msg.topic</code><code>msg.payload</code>text/html<code>msg.html</code><code>msg.from</code><code>msg.date</code></p>
<p>さらに<code>msg.header</code>からヘッダオブジェクトを参照できます。ヘッダオブジェクトは<i>to</i><i>cc</i></p>
<p>この実装にはimapモジュールを利用しています</p>
<p><b>:</b> 1</p>
<p>: SMTP over SSLを993番ポートで利用します</p>
<p>入力メールに添付ファイルがある場合は<code>msg.attachments</code>:</p>
<pre>
{
contentType: // MIME項目種別
fileName: // 添付ファイルの想定ファイル名
transferEncoding: // 元の添付ファイルのエンコーディング
contentDisposition: // 不明
generatedFileName: // 添付ファイルの想定ファイル名
contentId: // 添付ファイルの一意な識別子
checksum: // データのチェックサム
length: // データのバイト数
content: // 実際のデータを表すNode.jsのバッファオブジェクト
// content.toString('base64')によりbase64形式の文字列に変換可能
}
</pre>
<p>POP3プロトコルでのデフォルトポート番号は素のTCPでは110番SSLでは995番ですIMAPプロトコルでは素のTCPでは143番SSLでは993番です</p>
</script>