我正在尝试配置kimai time tracker v2来发送电子邮件。我在Windows上。
Kimai email configuration guide here
我已经在this guide
之后安装了hMailServer。我的kimai .env文件中有
MAILER_FROM=kimai@127.0.0.1
MAILER_URL=smtp://kimai:<MY HMAILSERVER ACCOUNT PASSWORD>@127.0.0.1:25?encryption=tls&auth_mode=plain
我跑步时
php console -vv swiftmailer:email:send
进行测试,并填写如下提示
SwiftMailer's Interactive Email Sender
======================================
From:
> me@localhost
To:
> <MY GMAIL ADDRESS>
Subject:
> Testing
Body:
> 313123123
我收到错误
Exception occurred while flushing email queue:
Expected response code 220 but got code "503", with message "503 Bad sequence of commands
如何正确配置此设置以能够在我的gmail收件箱中接收电子邮件?