No mails at all - invoice/quote

yo folks,

first of all i want to send a big THANK YOU! for your beautiful digital artwork. invoice ninja seems to be the solution to what i have been looking for more than a while.

i am running a selfhosted ct instance on a proxmox ve from turnkey. In between i have updgraded it to debian 11.8 with php 8.1 and - as of today - v5.8.33-C156 of IN. But … i have a big questionmark which i am not able to turn into a “WOW” since the initial installation and updates, even after digging the forum. (really apologize if I have missed something!)

No invoice or quote mails have been sent until today. I hopefully checked up from scratch. postfix is able to send from debians cli and i am also receiving daily mail from cron-apt. so i am inclined to say, that the underlaying mail-subsystem is working well.

in
/var/www/invoiceninja/.env/
afaik i entered appropiate data for
MAIL_MAILER=“log”
MAIL_HOST=“mymailhost”
MAIL_PORT=“467”
MAIL_USERNAME=“myuser”
MAIL_PASSWORD=“mypassword”
MAIL_ENCRYPTION=“ssl”
MAIL_FROM_ADDRESS=“mysenderaddress”
MAIL_FROM_NAME=“myname”
as i am using i.e. in thunderbird

i also changed from
QUEUE_CONNECTION=“database”
to
QUEUE_CONNECTION=“sync”
and flushing the cache afterwards with
/usr/local/bin/turnkey-artisan cache:clear
and/or
https://myinvoiceninjainstance.de/update?secret=

i tried
APP_DEBUG=“true”
with no additional hints.

cron seems to run as well as
/usr/local/bin/turnkey-artisan ninja:send-test-emails
in general.

/usr/local/bin/turnkey-artisan schedule:list
shows up a list of upcoming jobs as i would expect

but there will appear no entry in
/var/log/mail.log
i am getting no mails to my truely existing “dummy-customer” at all

WebUI while klicking
Invoices > Invoice > Send Email > Initial Email
says
“Successfully emailed invoice”

/var/www/invoiceninja/storage/logs/laravel.log
indeed shows up the (re)generated mails whenever i resend the invoice. so, up to here everything seems to be ok.

in brief it seems, that IN does not handover mails to postfix (or underlaying middle).
can you please point me to the digital lag/sink?
i can not figure out where the black hole might be.

Thanks again and thanks in advance for your help!
best regards
Marcel

Hi,

MAIL_MAILER should be set to smtp, not log.

Hi y’all!

Only seven simple bytes can make the difference :face_with_hand_over_mouth:
And after fixing the typo in MAIL_PORT it works like a charm.

of course I could have dived deeper into

sorry.

Thanksalot!

Glad to hear it, thanks for the update!