• plug sounds as if it would be exactly what I’m looking for to connect WordPress to my mailman list. But, I am getting the error below on the version I am running now.

    An unexpected error occurredArray ( [list_name] => Groove411 [mailman_url] => https://blah.org/mailman/listinfo/groove411 [list_password] => password )

    any suggestions on a proper fix?

    thanks in advance, -Rick

    https://www.ads-software.com/plugins/contact-form-with-mailman/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author GrumpyToaster

    (@grumpytoaster)

    Hi Rick, sorry it took me a few days to get on here. The message “An unexpected error occurred” happens after the form is submitted. What is happening in the background is the plugin is using the wp_mail() function to send out a thank you email.

    // If email has been process for sending, display a success message
            if ( wp_mail( $to, $subject, $message, $headers ) ) {
                echo '<div>';
                echo '<p>Thanks for contacting me, expect a response soon.</p>';
                echo '</div>';
            } else {
                echo 'An unexpected error occurred';
            }

    I would recommend you have a look at your WordPress install and make sure it is able to send out emails. I would also recommend you have a look at the PHP error logs on the server. It’s possible wp_mail() could be failing because of the mail not functioning correctly on the server.

    You may want to check out this plugin: https://www.ads-software.com/plugins/easy-wp-smtp/ It may help.

    I’m going to update the plugin and give that error a more descriptive message.

    Thanks,

    Jeff

    Thread Starter berkleegrad

    (@berkleegrad)

    Greetings Jeff,

    super big thank you for your reply!

    Wanted to mention that I was getting the above error when form first instantiates on the page. This before sending ??

    I’ve update to where I am point the URL and now I am getting the following error when the page opens… `Array ( [list_name] => Groove411 [mailman_url] => https://pathto/mailman/admin/groove411 [list_password] => blahblah )

    I have left the page up so you can see the error ( I have PURPOSEFULLY included the wrong password and path as it is reflected on the page)

    test site

    again, thank you for taking the time to reply.

    best regards, -Rick

    Thread Starter berkleegrad

    (@berkleegrad)

    opps, the above closing has the link to the site.

    Test link

    Plugin Author GrumpyToaster

    (@grumpytoaster)

    Hi Rick, I just pushed a new update for the plugin. Let me know if that fixes the issue.

    Jeff

    Thread Starter berkleegrad

    (@berkleegrad)

    Hey Jeff,

    Thank you for your help. We are making progress.

    I updated the plug in and the results are encouraging. The form is not echoing back the password and path +1 awesome. Upon testing, I did receive the confirmation email that the form was completed; However, there was no input into the mailman list.

    I am guessing I may have an incorrectly configured the mailman list url in my set-up? The url is (slightly altered) https://myhost.list.net/mailman/admin/groove411. Should it be another URL?

    Gentle reminder > Test Link

    I suppose I should mention that my host has the list on a different server than my site domain – does that make a difference?

    Again, I want to say thank you. I do appreciate your help AND the time you have devoted to helping me solve this issue…

    Best Regards, -Rick

    Thread Starter berkleegrad

    (@berkleegrad)

    Hey Jeff,

    Success! I discovered that I need the correct URL to input the subscribing info! Which in my case turned out to be the url below (of course changed just a bit ?? )

    https://mylist.host.net/mailman/admin/groove411/members/add

    Again, thank you for your time and attention and Great support to make this happen.

    For future versions, wondering if you thought some sort of captcha would be a good thing?

    best regards, -Rick

    Plugin Author GrumpyToaster

    (@grumpytoaster)

    Excellent!! I’m happy to hear it’s working for you now. I’ll have a look at adding a captcha in the next version. Thanks for the suggestion.

    Jeff

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘unexpexted error occurredArray’ is closed to new replies.