Emails not sending...

Discussion in 'Installation And Upgrade Help' started by fstltna, Jul 7, 2015.

  1. fstltna
    • Licensed

    fstltna Member

    I have several emails in the queue which don't seem to be sending, the emails have been in the queue for hours. Any ideas or do I need a cronjob to be set up?
  2. Mark
    • Staff

    Mark Administrator Staff Member

    if the mails are stuck in the queue, this is a server config issue, you do not need any cron job. Your server admin or hosting support should be able to easily help you identify why your mail is stuck in the queue.

    Visiolist uses the PHP mail() function by default.
  3. fstltna
    • Licensed

    fstltna Member

    I'm the server admin, and other emails from the site are working ok. I have visiolist using my SMTP server with username & password. Is there a log I can look at to track down the transactions?
  4. Mark
    • Staff

    Mark Administrator Staff Member

    that log would be the exim mail log, this is not a VL function.

    If messages are sitting in your queue, that is a server config issue, not a VL issue. You can examine the queue to figure out why they are not sending, could be incorrect port, or auth info.
  5. fstltna
    • Licensed

    fstltna Member

    Ok, I will look into it. Would you know a mail server I could use if mine has trouble?
  6. Mark
    • Staff

    Mark Administrator Staff Member

    you can use any mail server. I use exim on my mail servers, many of our users use gmail.
  7. fstltna
    • Licensed

    fstltna Member

    Ok, I have tried using both my own server and a commercial server and I still have the same issue. Mails are staying in the queue. How often does it retry them? I could give you the SMTP account info if you wanted to look into it...
  8. Mark
    • Staff

    Mark Administrator Staff Member

    These settings have nothing to do with VL, if mail is sitting in the queue that is outside the scope of VisioList which sends the command only once, and its expected the server will send mail immediately.

    How the mail queue is handled is a server configuration, not a VL setting. Look at your mail queue log and see why the messages are not being sent, most likely you have a misconfiguration somewhere.
  9. fstltna
    • Licensed

    fstltna Member

    I have tried both my own server and a paid commercial SMTP service and see the same issue. I could understand if my own server had issues, even though other apps are using it fine, but this commercial service doesn't make sense...
  10. Mark
    • Staff

    Mark Administrator Staff Member

    well since we know the mail is sitting in the queue, you really should be looking there for the answer.

    VisioList has handed of the mail to your mail server which is not sending it for some reason.
  11. fstltna
    • Licensed

    fstltna Member

    But you don't have any logging on the VL side? I'm going to look into the logs on my mail server, but it would be good if VL could tell me what happened when it tried to send...
  12. Mark
    • Staff

    Mark Administrator Staff Member

    no there is no logging on the VL side, logging is left up to the webserver and mail server since both of those already log all transactions.
  13. fstltna
    • Licensed

    fstltna Member

    Ok, an update: some mails are working. The first "welcome" mail is going out, but the mail when I approve them is not going out but staying in the queue. So my SMTP servers must be configured properly...
  14. Mark
    • Staff

    Mark Administrator Staff Member

    do you see the messages in the queue? what does the error say?
  15. fstltna
    • Licensed

    fstltna Member

    I see the addresses in the queue. I'm not seeing errors on the SMTP server. I will try setting it back to my local SMTP server and see if I can watch the message come in.

Share This Page