• I created a listserv and populated some test emails. I used the troubleshooting screen to send a test message and it was successful. I checked the mailing group’s email address and see that the emails were received from WordPress to the email address (SMTP), but it looks like they are just sitting in the email address. I checked the IMAP settings and it gives me no error not positive feedback, but the server logs indicate that there was a successful IMAP login for the user.

    WordPress is running on Server1 which is a LAMP Stack running Ubuntu 16.04, email is on Server2 running Postfix/Dovecot server.

    Is there another setting I need to check?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Yamna Khawaja

    (@marcusbs)

    If emails are sitting in inbox and that means the plugin is not able to connect to inbox and read emails from there. Try changing IMAP connection settings and see if you can get a connected successfully message. I think the connection to inbox is timing out for some reason and not reading emails.

    Thread Starter gmnorthey

    (@gmnorthey)

    I rechecked my configuration. I am using SSL for both the IMAP and SMTP connections on ports 993 and 443 respectively. I also logged into my webmail client and was able to connect (Webmail runs from the same server as WordPress and I confirmed same IMAP/SMPT settings).

    I did further research and found the following PHP error in the Apache Virtual Server’s log:

    [:error] [pid 30121] [client XXXXXXXX] PHP Fatal error: Uncaught Error: Call to undefined function imap_open() in /home/XXXXX/public_html/wp-content/plugins/wp-mailing-group/lib/receivemail.class.php:66\nStack trace:\n#0 /home/XXXXX/public_html/wp-content/plugins/wp-mailing-group/crons/wpmg_cron_parse_email.php(45): receiveMail->connect()\n#1 /home/XXXXX/public_html/wp-includes/class-wp-hook.php(286): wpmg_cron_parse_email()\n#2 /home/XXXXX/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#3 /home/XXXXX/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#4 /home/XXXXX/public_html/wp-cron.php(126): do_action_ref_array(‘wpmg_cron_task_…’, Array)\n#5 {main}\n thrown in /home/XXXXX/public_html/wp-content/plugins/wp-mailing-group/lib/receivemail.class.php on line 66, referer: https://XXXXX.com/wp-cron.php?doing_wp_cron=1542180871.3728189468383789062500

    Thread Starter gmnorthey

    (@gmnorthey)

    Disregard previous error:
    It seems PHP7.0_IMAP was not properly installed, after installing it I am now getting this error:
    I installed it and restarted Apache2

    imap_open(): Couldn’t open stream {mail.XXXXX.net:993/imap/novalidate-cert}INBOX in /home/XXXXX/public_html/wp-content/plugins/wp-mailing-group/lib/receivemail.class.php on line 88, referer: https://XXXXX.com/wp-admin/admin.php?page=wpmg_mailinggroup_list

    Thread Starter gmnorthey

    (@gmnorthey)

    Also, here are the stats from the Troubleshooting page:
    PHP Version : 7.0.32-0ubuntu0.16.04.1
    Function imap_open(): Available.
    Wp Cron: Enabled
    Plugin Crons:
    If any of crons is not queued, deactivate WPMG and re-activate. See if this fixes the crons)

    wpmg_cron_task_send_email is queued
    wpmg_cron_task_bounced_email is queued
    wpmg_cron_task_parse_email is queued
    wpmg_cron_auto_delete_attachments is queued
    Number of queued Emails:
    (Emails read from inbox, waiting to be sent out. It can be 0 or more)

    0
    WPMG Version: 1.6.1
    Web Server Info: Apache
    WordPress Memory Limit: 40MB
    PHP Memory Limit: 256M
    PHP Upload Max Size: 2048M
    PHP Post Max Size: 2048M
    PHP Upload Max Filesize: 2048M
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    PHP Arg Separator: &
    PHP Allow URL File Open: Yes
    WP_DEBUG: Disabled
    WP Remote Post: wp_remote_post() works
    Session: Disabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /var/lib/php/sessions
    Use Cookies: On
    Use Only Cookies: On
    DISPLAY ERRORS: N/A
    FSOCKOPEN: Your server supports fsockopen.
    cURL: Your server supports cURL.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Emails not sending to listserv (presale question)’ is closed to new replies.