Skip to content

bug_report 邮件抛出调用未定义函数异常 #198

Open
@Devil-guigui

Description

@Devil-guigui

描述问题

启动邮件工具run一遍发现有报错,对应行的代码是return filter_var($address, FILTER_VALIDATE_EMAIL) !== false;
<b>Fatal error</b>:  Uncaught Error: Call to undefined function PHPMailer\PHPMailer\filter_var() in /data/wwwroot/freenom/vendor/phpmailer/phpmailer/src/PHPMailer.php:1407

重现步骤

步骤一
php run

截图&日志

你做了哪些尝试

描述你发现问题后做了哪些尝试,以及尝试结果,方便我快速排除某些问题,提高沟通效率。

环境信息

  • 系统: (mipselsf linux)
  • PHP 版本: (php8.0)
  • 脚本版本: (x)
  • 是否 Docker: (x)

额外的备注

  • Add any other context about the problem here.
  • x

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