mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
비회원의 댓글은 관리자 메일 알림이 되지 않을 수 있는 문제 수정
setReplyTo: Address in mailbox given [] does not comply with RFC 2822, 3.6.2.
This commit is contained in:
parent
09f8488593
commit
64e1258f0c
1 changed files with 4 additions and 1 deletions
|
|
@ -720,7 +720,10 @@ class commentController extends comment
|
|||
$oMail->setSubject($mail_title);
|
||||
$oMail->setBody($mail_content);
|
||||
$oMail->setFrom(config('mail.default_from') ?: $member_info->email_address, $member_info->nick_name);
|
||||
$oMail->setReplyTo($member_info->email_address);
|
||||
if($member_info->email_address)
|
||||
{
|
||||
$oMail->setReplyTo($member_info->email_address);
|
||||
}
|
||||
foreach (array_map('trim', explode(',', $module_info->admin_mail)) as $email_address)
|
||||
{
|
||||
if ($email_address && $email_address !== $author_email_address)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue