Home Forums Support Invoices stuck in mail queue?

This topic contains 4 replies, has 2 voices, and was last updated by  kidjake28 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20134

    kidjake28
    Participant

    I had an issue with a gmail account which is used to send out invoices but was locked. Consequently all recurring invoices did not get sent out.

    I don’t recall if invoiceninja uses sendmail or some type of mail server to send out invoices. Are those emails in a queue and will eventually go out now that the account has been unlocked or do I have to do something to resend them?

    Any help appreciated.

    #20135

    Hillel Coren
    Keymaster

    I’m assuming the recurring invoice generated the standard invoice but the standard invoices weren’t emailed. If that’s the case you’d need to manually send the invoices.

    The app does support using email queues which will retry if there’s a failure like this but it needs to be enabled.

    https://invoice-ninja.readthedocs.io/en/latest/configure.html#email-queues

    #20136

    kidjake28
    Participant

    Thanks very much for the info, just a a few questions:

    1) Does it matter which parameter we use? QUEUE_DRIVER=database or QUEUE_DRIVER=redis?
    2) Does this mean that I now have to create a cron job to send out emails?
    3) If #2 is yes, does it matter which paramter? php artisan queue:listen or php artisan queue:work –daemon

    #20137

    Hillel Coren
    Keymaster

    1. Yes, there’s more info here: https://laravel.com/docs/5.4/queues#driver-prerequisites
    2. No, crons and queues are separate. That said if you aren’t sending many emails you could use a cron but I think it would only send one email per minute.
    3. https://laravel.com/docs/5.4/queues#running-the-queue-worker

    #20140

    kidjake28
    Participant

    Thanks again for all your help.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Posted in: