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

Email test fail without error in SnipeIT #8895

Open
2 tasks
jackd268 opened this issue Dec 11, 2020 · 1 comment
Open
2 tasks

Email test fail without error in SnipeIT #8895

jackd268 opened this issue Dec 11, 2020 · 1 comment

Comments

@jackd268
Copy link

Please confirm you have done the following before posting your bug report:

Describe the bug
A clear and concise description of what the bug is.
Mail could not be sent.
No additional error message provided. Check your mail settings and your app log.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • Snipe-IT Version 5.0.6 - build 5526
  • OS: [e.g. Ubuntu, CentOS] Docker running on Synology
  • Web Server: [e.g. Apache, IIS]
  • PHP Version

Error Messages Not getting any error messages or can't see the logs somehow

  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
  • If a stacktrace is provided in the error, include that too.
  • Any errors that appear in your browser's error console.
  • Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
  • Include any additional information you can find in storage/logs and your webserver's logs.
  • Include the output from php -m (this should display what modules you have enabled.)

Additional context

  • Is this a fresh install or an upgrade? Fresh install
  • What OS and web server you're running Snipe-IT on Docker on Synology
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) Docker registry on Synology
  • Include what you've done so far in the installation, and if you got any error messages along the way.
  • Indicate whether or not you've manually edited any data directly in the database

Add any other context about the problem here.

There are 2 containers in Docker, one for SnipeIT and one for MySQL database.
I setup the environment variables as below for both containers:

Email Parameters

- the hostname/IP address of your mailserver

MAIL_PORT_587_TCP_ADDR=smtp.whatever.com
#the port for the mailserver (probably 587, could be another)
MAIL_PORT_587_TCP_PORT=587

the default from address, and from name for emails

MAIL_ENV_FROM_ADDR=[email protected]
MAIL_ENV_FROM_NAME=Your Full Email Name

- pick 'tls' for SMTP-over-SSL, 'tcp' for unencrypted

MAIL_ENV_ENCRYPTION=tcp

SMTP username and password

MAIL_ENV_USERNAME=your_email_username
MAIL_ENV_PASSWORD=your_email_password

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

@welcome
Copy link

welcome bot commented Dec 11, 2020

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

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