Skip to content

Commit

Permalink
Merge pull request #209 from tao-s/patch-2
Browse files Browse the repository at this point in the history
mail()でメール送信する際に、return pathが設定されない不具合を修正
  • Loading branch information
okazy authored Aug 6, 2018
2 parents 333f30d + 348b4b4 commit 76e039b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/class/SC_SendMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 76e039b

Please sign in to comment.