Email Setup on Version 5

Hello,

I upgraded my Invoiceninja Self hosted from version 4 to v5.8.33-C156 and everything is working as expected except the email function. I have tried to edit the .env file as below to no avail (I have three companies in the app)

1_MAIL_MAILER=“smtp”
1_MAIL_HOST=“mailhost”
1_MAIL_PORT=“465”
1_MAIL_USERNAME=“email address”
1_MAIL_PASSWORD=“email password”
1_MAIL_ENCRYPTION=“tls”
1_MAIL_FROM_ADDRESS=“email address”
1_MAIL_FROM_NAME=“Billing”

I have also tried the Web email configuration option, when I click “Send Test Email” it works and I receive the test email but when I send a quote or an invoice the customers do not receive any email and there is nothing in the logs to point me in the right direction.
All these settings were working in version 4 without a hitch.

Is there something I am missing or is there any other file I need to edit in Version 5.?

Any help will be greatly appreciated

Hi,

In the latest v5 release you can set the SMTP credentials in the app on Settings > Email Settings

Hello I have done that and it works when you send a test email but it does not work when you send a quote or invoice.
This is where I am facing a challenge.
Any ideas? How maybe to enable logging?

There may be more info in the system logs