dmstr/yii2-contact-module

Allow empty from email (use app->mailer default)

schmunk42 opened this issue · 0 comments

eg.

    "messageConfig": {
        "charset": "UTF-8",
        "returnPath": "pilot-info@example.com",
        "from": {
            "pilot-info@example.com": "My Website"
        }
    }

On many mailservers the from e-mail must match the sending account.
It also avoids to be classified as spam.