<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t_komura</author_name>
  <author_url>https://blog.hatena.ne.jp/t_komura/</author_url>
  <blog_title>t_komuraの日記</blog_title>
  <blog_url>https://t-komura.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>セキュリティ</anon>
  </categories>
  <description>以下の徳丸さんの記事を読んで、以前にmb_send_mail()の関連で調べたことがあったのを思い出しましたので、少し書きます。 PHPだってシェル経由でないコマンド呼び出し機能が欲しい 環境は Unix 系の OS で OS コマンドを使用してメールを送信する場合です。メール送信コマンドは php.ini で sendmail_path を設定します(デフォルト: &quot;sendmail -t -i&quot;)。 mb_send_mail関数(mail関数も同様)ですが、第5引数(additional_parameter)にユーザの入力を使用する場合は注意が必要です。mb_send_mail関数の第5引…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ft-komura.hatenadiary.org%2Fentry%2F20131223%2F1387804821&quot; title=&quot; mb_send_mail()，mail()で第5引数を設定する際の注意点 - t_komuraの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-12-23 22:20:21</published>
  <title> mb_send_mail()，mail()で第5引数を設定する際の注意点</title>
  <type>rich</type>
  <url>https://t-komura.hatenadiary.org/entry/20131223/1387804821</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
