Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing Email #76

Open
johncadengo opened this issue Apr 5, 2024 · 1 comment
Open

Testing Email #76

johncadengo opened this issue Apr 5, 2024 · 1 comment

Comments

@johncadengo
Copy link

I followed the documentation here.

Specifically, this is what I ran:

$ docker compose exec -it leantime /bin/sh
/var/www/html # ./bin/leantime email:test
                                                                                                                        
 [ERROR] address parameter needs to be set  

How do I set this parameter correctly?

I have all the settings in the .env filled out. So I'm not sure if my settings are incorrect or if they are not being transferred properly into the configuration.

@johncadengo
Copy link
Author

johncadengo commented Apr 5, 2024

I figured out that you need to pass an email. I tried this at first:

/var/www/html # ./bin/leantime email:test email@email.com

No arguments expected for "email:test" command, got "email@email.com".  
                                                                                
email:test [--address ADDRESS]

This gives more clarity about how to properly run the command, which isn't indicated in the documentation.

Then when I run it properly, it just hangs:

/var/www/html # ./bin/leantime email:test --address email@email.com
Sending a test email using current configuration

It never gets past this command and it's just stuck. How can I debug this?

Increasing the verbosity has no additional debug messages:

/var/www/html # ./bin/leantime email:test --help
Description:
  Sends an email to test system configuration

Usage:
  email:test [options]

Options:
      --address=ADDRESS  Recipient email address
  -h, --help             Display help for the given command. When no command is given display help for the list command
  -q, --quiet            Do not output any message
  -V, --version          Display this application version
      --ansi|--no-ansi   Force (or disable --no-ansi) ANSI output
  -n, --no-interaction   Do not ask any interactive question
  -v|vv|vvv, --verbose   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant