chrisdewey
Verified User
- Joined
- May 27, 2020
- Messages
- 7
Hello,
I am been battling to find a cause and solution for me not being able to get emails working in Invoice Ninja, No matter what email system I use it says the same thing. I have used RoundCube from the same DirectAdmin Server, 2x Gmail Accounts (1 New and the other worked over a year ago on v4 Invoice Ninja) and I have tried Hotmail. All Say the following.
I have carried out the following:
Checked TCP_Ports and SMTP_PORTS
I have followed what Invoice Ninja recommends
Changed
QUEUE_CONNECTION=database to QUEUE_CONNECTION=sync
Checked Cron Is working (I know this should not affect)
PHP artisan queue:listen
.env - details
Any help in getting Invoice Ninja to send emails that would be great. I am posting here as I suspect DirectAdmin or Underlining OS causing it as its a clean install and a clean install of Invoice Ninja
I am been battling to find a cause and solution for me not being able to get emails working in Invoice Ninja, No matter what email system I use it says the same thing. I have used RoundCube from the same DirectAdmin Server, 2x Gmail Accounts (1 New and the other worked over a year ago on v4 Invoice Ninja) and I have tried Hotmail. All Say the following.
I have tried smtp.gmail.com and all the 25,465,587System Failed to email Invoice 0001
Connection could not be established with host imap.gmail.com :stream_socket_client(): unable to connect to SSL://imap.gmail.com:465 (Connection Refused)
I have carried out the following:
Checked TCP_Ports and SMTP_PORTS
I have followed what Invoice Ninja recommends
Changed
QUEUE_CONNECTION=database to QUEUE_CONNECTION=sync
Checked Cron Is working (I know this should not affect)
PHP artisan queue:listen
.env - details
MAIL_MAILER=smtp
MAIL_HOST=imap.gmail.com
MAIL_PORT=465
MAIL_USERNAME=[email protected]
MAIL_PASSWORD=PASSWORD
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=[email protected]
MAIL_FROM_NAME='CD Emails'
Any help in getting Invoice Ninja to send emails that would be great. I am posting here as I suspect DirectAdmin or Underlining OS causing it as its a clean install and a clean install of Invoice Ninja
Last edited: