nilsteampassnet / TeamPass

Collaborative Passwords Manager
https://www.teampass.net
1.66k stars 540 forks source link

No new lines in generated email #4197

Open Kyogre opened 4 months ago

Kyogre commented 4 months ago

Steps to reproduce

  1. Setup SMTP server in Teampass
  2. Create new user
  3. User looks at the received email content

Expected behaviour

  1. Mail content has new lines.
  2. I suppose, mail content could be translated, but it won't hook the translation.

Actual behaviour

All mail content shows as single line:

Hello user,This is a generated email from Teampass passwords manager.Following credentials are expected next time using Teampass:login: newuserPassword: 12345678Cheers

Server configuration

Operating system: RHEL 8.3

Web server: nginx 1.25.4

Database: mariadb 10.11.6

PHP version: 8.1.24

Teampass version: 3.1.2.44

Teampass configuration file: tp.config.php.txt

Updated from an older Teampass or fresh install: fresh install.

kgoyat commented 3 months ago

Same problem for me in version 3.1.2.45