From 348b4b42134b90640524ef658102fa6b7fc870e4 Mon Sep 17 00:00:00 2001 From: Tao Sasaki Date: Fri, 3 Aug 2018 17:27:27 +0900 Subject: [PATCH] =?UTF-8?q?mail()=E3=81=A7=E3=83=A1=E3=83=BC=E3=83=AB?= =?UTF-8?q?=E9=80=81=E4=BF=A1=E3=81=99=E3=82=8B=E9=9A=9B=E3=81=AB=E3=80=81?= =?UTF-8?q?return=20path=E3=81=8C=E8=A8=AD=E5=AE=9A=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=AA=E3=81=84=E4=B8=8D=E5=85=B7=E5=90=88=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mail()で送る場合、headerにあっても反映されない --- data/class/SC_SendMail.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/class/SC_SendMail.php b/data/class/SC_SendMail.php index 9b39bb37cb..1e8035fd0b 100644 --- a/data/class/SC_SendMail.php +++ b/data/class/SC_SendMail.php @@ -357,6 +357,12 @@ public function getBackendParams($backend) switch ($backend) { case 'mail': $arrParams = array(); + $objDb = new SC_Helper_DB_Ex(); + $objSite = $objDb->sfGetBasisData(); + if(!empty($objSite['email04']) && strpos($objSite['email04'],"@") > 0) + { + $arrParams[] = "-f ".$objSite['email04']; + } break; case 'sendmail':