Skip to content

Test Email Server Configuration - Leave blank to use Username instead #188

@YiffyToys

Description

@YiffyToys

Instructions in settings:

Test Email Server Configuration Settings
From Email Address (Leave blank to use Username instead)

When actually leaving that field blank,
we get:

o/var/log/system.log <==
[2022-10-30T15:19:17.666005+00:00] main.CRITICAL: Laminas\Mail\Exception\InvalidArgumentException: The input is not a valid email address. Use the basic format local-part@hostname in magento/vendor/laminas/laminas-mail/src/Address.php:74
Stack trace:
#0 magento/vendor/laminas/laminas-mail/src/AddressList.php(236): Laminas\Mail\Address->__construct()
#1 magento/vendor/laminas/laminas-mail/src/AddressList.php(29): Laminas\Mail\AddressList->createAddress()
#2 magento/vendor/laminas/laminas-mail/src/Message.php(538): Laminas\Mail\AddressList->add()
#3 magento/vendor/laminas/laminas-mail/src/Message.php(131): Laminas\Mail\Message->updateAddressList()
#4 magento/vendor/magepal/magento2-gmailsmtpapp/Block/Adminhtml/ValidateConfig.php(300): Laminas\Mail\Message->addFrom()
#5 magento/vendor/magepal/magento2-gmailsmtpapp/Block/Adminhtml/ValidateConfig.php(214): MagePal\GmailSmtpApp\Block\Adminhtml\ValidateConfig->validateServerEmailSetting()
#6 magento/vendor/magepal/magento2-gmailsmtpapp/view/adminhtml/templates/validateConfig/result.phtml(164): MagePal\GmailSmtpApp\Block\Adminhtml\ValidateConfig->verify()
#7 magento/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/domains/y...')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions