This function should be called once you have added the text/html/images/attachments. It builds the message and returns it. It does not send it. To send what this function returns (in conjunction with the headers() -function) you would need to use the Mail::send()-function
array $param -
パラメータの連想の配列。
これらのパラメータは、メッセージ構築時に作用します。
$param["text_encoding"] -
電子メールのプレインテキストパートに使用するエンコードの種類です。
デフォルトは"7bit"です。
$param["html_encoding"] -
電子メールのHTMLパートに使用するエンコードの種類です。
$param["7bit_wrap"] -
テキストが終わる文字数です。
SMTPは、CRLFを含む1000文字を最大行の長さと規定します。
デフォルトは998文字です(CRLFを追加して1000文字になります)。
$param["text_charset"] -
電子メールのプレインテキストパートに使用する文字コードセットです。
デフォルトは"iso-8859-1"です。
$param["html_charset"] -
電子メールのHTMLパートに使用する文字コードセットです。
デフォルトは"iso-8859-1"です。