Skip to content

Commit

Permalink
auto_reply_name が設定されない不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
dounokouno committed Nov 13, 2015
1 parent 85230c5 commit 2583560
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/TransmitMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,8 @@ public function sendMail($is_auto_reply = false)
$from_email = $to_email;
}

$this->mail->from($from_email);

// CC メールアドレスの設定がある場合
if (!empty($this->config['cc_email'])) {
$this->mail->cc($this->config['cc_email']);
Expand All @@ -1154,7 +1156,6 @@ public function sendMail($is_auto_reply = false)
$this->mail->to($to_email);
$this->mail->subject($to_subject);
$this->mail->text($body);
$this->mail->from($from_email);

// 添付ファイル機能を利用する場合
if ($this->config['file']) {
Expand Down

0 comments on commit 2583560

Please sign in to comment.