postal icon indicating copy to clipboard operation
postal copied to clipboard

postal test-app-smtp [email protected] fails on ERROR

Open arthurzenika opened this issue 1 year ago • 1 comments

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

  1. SSH into the server
  2. run postal test-app-smtp with an email address
  3. 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

arthurzenika avatar Jun 23 '23 13:06 arthurzenika