postal
postal copied to clipboard
postal test-app-smtp [email protected] fails on ERROR
Describe the bug
root@postal:~# postal test-app-smtp [email protected]
Creating postal_runner_run ... done
usage: postal test-app-smtp [email address]
ERROR: 1
To Reproduce
- SSH into the server
- run postal test-app-smtp with an email address
- see the error above
Expected behaviour
For the test email to be sent.
Workaround using console and copying the ruby code from script :
root@postal-prod:/opt/postal# postal console
Creating postal_runner_run ... done
Loading production environment (Rails 5.2.6.2)
irb(main):002:0> AppMailer.test_message('[email protected]').deliver
Rendering app_mailer/test_message.text.erb
Rendered app_mailer/test_message.text.erb (0.4ms)
AppMailer#test_message: processed outbound mail in 7.0ms
[snip]
Environment details
- OS: debian + docker-compose
- Browser n/a
- Version 2.1.2
- Type n/a