Hello all,
I am using IN 5.3.76-C77 on shared hosting deployed by softaculous.
No matter what, I cannot make the system to send emails and also I cannot get rid of the error saying that Cron jobs not running.
Cron jobs are running on my server and have double checked with the hosting company.
My env file is as follows:
APP_NAME=“Invoice Ninja”
APP_ENV=production
APP_KEY=my domain.com
APP_DEBUG=“true”
APP_URL=“https://my domain.com/public”
DB_CONNECTION=“mysql”
MULTI_DB_ENABLED=false
DB_HOST=“localhost”
DB_DATABASE="dbname "
DB_USERNAME=“db username”
DB_PASSWORD=“Password”
DB_PORT=“3306”
DEMO_MODE=false
BROADCAST_DRIVER=log
LOG_CHANNEL=stack
CACHE_DRIVER=file
QUEUE_CONNECTION=database (I have tried with sync without any success)
SESSION_DRIVER=file
SESSION_LIFETIME=120
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=“smtp”
MAIL_HOST=“smtp.office365.com”
MAIL_PORT=“587”
MAIL_USERNAME="myemail@domain.com"
MAIL_PASSWORD=“email-app-password”
MAIL_ENCRYPTION=“tls”
MAIL_FROM_ADDRESS="myemail@domain.com"
MAIL_FROM_NAME=“name-Finance”
When I send an email I.e. to a new user I get a pop up saying an email was send but I never receive anything.
No errors are produced, only in the db jobs table I can see some.
Here is one of these errors:
{“uuid”:“4cc3aaef-2000-449e-aa9e-92f1d2831781”,“displayName”:“App\Listeners\Activity\CreatedClientActivity”,“job”:“Illuminate\Queue\CallQueuedHandler@call”,“maxTries”:null,“maxExceptions”:null,“failOnTimeout”:false,“backoff”:null,“timeout”:null,“retryUntil”:null,“data”:{“commandName”:“Illuminate\Events\CallQueuedListener”,“command”:“O:36:“Illuminate\Events\CallQueuedListener”:19:{s:5:“class”;s:44:“App\Listeners\Activity\CreatedClientActivity”;s:6:“method”;s:6:“handle”;s:4:“data”;a:1:{i:0;O:34:“App\Events\Client\ClientWasCreated”:3:{s:6:“client”;O:45:“Illuminate\Contracts\Database\ModelIdentifier”:4:{s:5:“class”;s:17:“App\Models\Client”;s:2:“id”;i:1;s:9:“relations”;a:5:{i:0;s:7:“company”;i:1;s:14:“group_settings”;i:2;s:4:“user”;i:3;s:8:“contacts”;i:4;s:15:“primary_contact”;}s:10:“connection”;s:5:“mysql”;}s:7:“company”;O:45:“Illuminate\Contracts\Database\ModelIdentifier”:4:{s:5:“class”;s:18:“App\Models\Company”;s:2:“id”;i:1;s:9:“relations”;a:0:{}s:10:“connection”;s:5:“mysql”;}s:10:“event_vars”;a:4:{s:2:“ip”;s:13:“80.107.26.107”;s:5:“token”;s:64:“OBDiErIt7uhEp5e4yBlM8rlxAvGaokuLtMYIcJaOvrs4eHdPU0pxfaz8S4nOp0Of”;s:9:“is_system”;b:0;s:7:“user_id”;i:1;}}}s:5:“tries”;N;s:13:“maxExceptions”;N;s:7:“backoff”;N;s:10:“retryUntil”;N;s:7:“timeout”;N;s:17:“shouldBeEncrypted”;b:0;s:3:“job”;N;s:10:“connection”;N;s:5:“queue”;N;s:15:“chainConnection”;N;s:10:“chainQueue”;N;s:19:“chainCatchCallbacks”;N;s:5:“delay”;N;s:11:“afterCommit”;N;s:10:“middleware”;a:0:{}s:7:“chained”;a:0:{}}”},“db”:“mysql”}
Any suggestions?
Many thanks