Title: GrumpyToaster's Replies | WordPress.org

---

# GrumpyToaster

  [  ](https://wordpress.org/support/users/grumpytoaster/)

 *   [Profile](https://wordpress.org/support/users/grumpytoaster/)
 *   [Topics Started](https://wordpress.org/support/users/grumpytoaster/topics/)
 *   [Replies Created](https://wordpress.org/support/users/grumpytoaster/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/grumpytoaster/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/grumpytoaster/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/grumpytoaster/engagements/)
 *   [Favorites](https://wordpress.org/support/users/grumpytoaster/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form with Mailman] unexpexted error occurredArray](https://wordpress.org/support/topic/unexpexted-error-occurredarray/)
 *  Plugin Author [GrumpyToaster](https://wordpress.org/support/users/grumpytoaster/)
 * (@grumpytoaster)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/unexpexted-error-occurredarray/#post-7135740)
 * 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
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form with Mailman] unexpexted error occurredArray](https://wordpress.org/support/topic/unexpexted-error-occurredarray/)
 *  Plugin Author [GrumpyToaster](https://wordpress.org/support/users/grumpytoaster/)
 * (@grumpytoaster)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/unexpexted-error-occurredarray/#post-7135734)
 * Hi Rick, I just pushed a new update for the plugin. Let me know if that fixes
   the issue.
 * Jeff
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form with Mailman] unexpexted error occurredArray](https://wordpress.org/support/topic/unexpexted-error-occurredarray/)
 *  Plugin Author [GrumpyToaster](https://wordpress.org/support/users/grumpytoaster/)
 * (@grumpytoaster)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/unexpexted-error-occurredarray/#post-7135731)
 * 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://wordpress.org/plugins/easy-wp-smtp/](https://wordpress.org/plugins/easy-wp-smtp/)
   It may help.
 * I’m going to update the plugin and give that error a more descriptive message.
 * Thanks,
 * Jeff
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Plugin requests response?](https://wordpress.org/support/topic/plugin-requests-response/)
 *  Thread Starter [GrumpyToaster](https://wordpress.org/support/users/grumpytoaster/)
 * (@grumpytoaster)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/plugin-requests-response/#post-6237046)
 * Geez… now I find the link with the info I was looking for…
 * [https://wordpress.org/plugins/about/faq/](https://wordpress.org/plugins/about/faq/)
 * Thanks anyway.

Viewing 4 replies - 1 through 4 (of 4 total)