WordPress.org

Ready to get started?Download WordPress

Forums

ThreeWP Email Reflector
Not sending email (12 posts)

  1. jon.m.downey
    Member
    Posted 2 years ago #

    I have the reflector set up and if it worked it would meet my needs perfectly.

    The only problem is that it does not actually send the mail. I have tried various settings to no avail.

    Please advise what information you need from me to troubleshoot.

    Thank you.

    http://wordpress.org/extend/plugins/threewp-email-reflector/

  2. edward mindreantre
    Member
    Plugin Author

    Posted 2 years ago #

    Oh. Late answer.

    Have y'all gotten it working yet?

  3. jon.m.downey
    Member
    Posted 2 years ago #

    The plugin works now but in Gmail web client and Android phones, all the header information is displayed.

    I had it working but since updating to the most recent version I have this problem.

    I am getting a ton of complaints about this.

    I really like the functionality but am frustrated with this issue.

  4. ForToffee
    Member
    Posted 2 years ago #

    Having similar issues, anyone care to share? Sequence below

    Email to list
    auth request back to sender
    auth request reply validated
    outbound mails in queue (5 of them)
    press "Send messages in Queue"
    "Starting 1 sending children" appearing in log x5

    Queue still has 5 entries, "Starting 1 sending children" repeats in log, emails going nowhere.

    Like the look of this plugin so hoping I can solve this, probably a simple fix!

    Thanks in advance!

    (WP 3.4, Reflector version 1.4)

  5. edward mindreantre
    Member
    Plugin Author

    Posted 2 years ago #

    You have curl installed, right?

    What do your webserver logs say?

  6. ForToffee
    Member
    Posted 2 years ago #

    Thanks for the prompt response

    cURL is installed.

    What should I be looking for in the logs, anything specific?

  7. ForToffee
    Member
    Posted 2 years ago #

    Further to my last reply is this what you had in mind?

    x.x.x.x - - [14/Jun/2012:15:18:52 +0100] "HEAD /wp?threewp_email_reflector=1&message_id=3&nonce=xxxxxxxxxx HTTP/1.1" 301 - "-" "-"

    IP and Hash removed.

  8. ForToffee
    Member
    Posted 2 years ago #

    Having a bit more of a play with the URLs now I've found that log entry

    If I call that URL from my browser (fully qualified of course) then the message is sent. Off to have a bit more of a play with configuration as the full url is [subdomain].[domain].org.uk which in reality is www.[domain].org.uk/[folder]

  9. edward mindreantre
    Member
    Plugin Author

    Posted 2 years ago #

    Apparently you have weird URLs...

    The plugin gets the url from here:

    $url = get_bloginfo( 'url' ); (about line 3128)

    Which means that whatever WordPress thinks is the blog url will be used.

  10. ForToffee
    Member
    Posted 2 years ago #

    OK....

    I've been adding debug logging to try and track this down.

    Just after the subsequent add_query_arg line I have a log output of the $url variable. The activity log shows

    URL: http://subdomain.domain.org.uk/wp?threewp_email_reflector=1&list_id=1&nonce=xxxxxxxxxxxx

    So the URL should be being added to the $curl object correctly.......

  11. ForToffee
    Member
    Posted 2 years ago #

    Got it!

    Had a poke around curl_init and curl_setopt documentation and came across CURLOPT_FOLLOWLOCATION. HTTP 301 is a redirect code, so I had a look if it's being set in the plugin.

    In the code it is set as 0, setting it to 1 solves my issue.

    Does that make sense for you Edward?

  12. edward mindreantre
    Member
    Plugin Author

    Posted 2 years ago #

    If that works then the next version will have it set to 1.

    I'm guessing your htaccess is rewriting and redirecting...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic