Skip to content

エンベロープFrom を設定していない #135

@akagane99

Description

@akagane99

転記

永原です。

NetCommons2 のメール送信では、エンベロープFrom を設定していないと思います。
最近のメールセキュリティチェックでは、エンベロープFrom がないと、SPAM 扱いになるケースがあるようです。

\webapp\components\mail\Main.class.php
の 381 行目あたりにSender プロパティを設定した方が良いと思うのです。
以下、該当部分のソース

            $this->_mailer->ClearAllRecipients();
            $this->_mailer->AddAddress($email);
            if (!empty($this->fromEmail)) {
                $this->_mailer->From = $this->fromEmail;
                $this->_mailer->Sender = $this->fromEmail;
            }

上記で、From と同じものを設定するようになります。

以上、参考までに。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions