Title: Undefined variable $response
Last modified: August 22, 2023

---

# Undefined variable $response

 *  Resolved [noplanman](https://wordpress.org/support/users/noplanman/)
 * (@noplanman)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/undefined-variable-response/)
 * Hi, I see the following warning in the web server logs for each email sent.
 * PHP message: PHP Warning: Undefined variable $response in …/post-smtp/Postman/
   Phpmailer/PostsmtpMailer.php on line 137

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

 *  [postsmtp](https://wordpress.org/support/users/postsmtp/)
 * (@postsmtp)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/undefined-variable-response/#post-16991794)
 * Hi [@noplanman](https://wordpress.org/support/users/noplanman/),
 * I hope you are doing well!
 * Are you using the latest version **2.5.9.3** of Post SMTP? If not, please do 
   the update to the latest version and if already updated then provide the diagnostic
   test report. So, we can assist you accordingly.
 * Thanks and regards,
   Support Team – WPExperts  
 *  Thread Starter [noplanman](https://wordpress.org/support/users/noplanman/)
 * (@noplanman)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-response/#post-17021803)
 * Hi [@postsmtp](https://wordpress.org/support/users/postsmtp/), I’m good, hope
   you are too! =)
 * I’m on **2.5.9.4** now and the error is still popping up in the logs.
 * Let me know how I can do to help debug this.
 *  [smakazmi15](https://wordpress.org/support/users/smakazmi15/)
 * (@smakazmi15)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-response/#post-17023004)
 * Hi [@noplanman](https://wordpress.org/support/users/noplanman/),
 * I hope you are doing well.
 * Please share the diagnostic report so we can look into it and get back to you.
 * Thanks and regards,
   Support Team – WPExperts
 *  Thread Starter [noplanman](https://wordpress.org/support/users/noplanman/)
 * (@noplanman)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-response/#post-17023484)
 * Thanks [@smakazmi15](https://wordpress.org/support/users/smakazmi15/), here you
   go. I doubt it’s a plugin conflict, but just to point out, the domain of the 
   site is different to the email sending domain, in case that matters.
 *     ```wp-block-code
       Mailer: phpmailer
       HostName: example.org
       cURL Version: 7.81.0
       OpenSSL Version: OpenSSL/3.0.2
       OS: Linux localhost 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64
       PHP: Linux 8.1.23 C.UTF-8
       PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
       WordPress: 6.3.1 en_GB UTF-8
       WordPress Theme: SMN
       WordPress Plugins: PDF Embedder Premium, Admin Menu Editor, Amazon Link Engine, AWeber for WordPress, BuddyBoss Platform Pro, BuddyBoss Platform, Category Editor, Classic Editor, Vimeotheque, Complianz Privacy Suite (GDPR/CCPA) premium, Complianz - Terms and Conditions, Disable Comments, Divi Builder, Enable Media Replace, Enhanced Media Library, OMGF, LH Add Media from URL, MEC Advanced Speaker, MemberPress AWeber, MemberPress + BuddyPress Integration, MemberPress Divi Content Protection, MemberPress Downloads, MemberPress PDF Invoice, MemberPress Plus 10 (Legacy), Members, Modern Events Calendar, NinjaFirewall (WP Edition), Pages with category and tag, Popups for Divi, Post SMTP, Post Type Switcher, Fixed Widget, Recencio Book Reviews, Rank Math SEO PRO, Rank Math SEO, SMN Book Review Importer, SMN, SupportCandy, Vimeotheque PRO, WebP Express, WPForms AWeber, WPForms Conversational Forms, WPForms Form Locker, WPForms Geolocation, WPForms Google Sheets, WPForms PayPal Standard, WPForms Stripe Pro, WPForms, SupportCandy - Agentgroup, SupportCandy - Assign Agent Rules, SupportCandy - Canned Reply, SupportCandy - Email Piping, SupportCandy - Export Ticket, SupportCandy - Print Tickets, WPvivid Backup Plugin, YouTube Showcase Professional
       WordPress wp_mail Owner: /var/www/example.org/wp-includes/pluggable.php
       WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
       Postman: 2.5.9.4
       Postman Sender Domain (Envelope|Message): example.net | example.net
       Postman Prevent Message Sender Override (Email|Name): No | No
       Postman Active Transport: Gmail API (https:oauth2://www.googleapis.com:443)
       Postman Active Transport Status (Ready|Connected): Yes | Yes
       Postman Deliveries (Success|Fail): 113511 | 572
       Postman Email Log (Enabled|Limit|Transcript Size): Yes | 10000 | 128
       Postman PHP LogLevel: 30000
       Postman Stealth Mode: Yes
       ```
   
 *  [postsmtp](https://wordpress.org/support/users/postsmtp/)
 * (@postsmtp)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-response/#post-17026646)
 * Hi [@noplanman](https://wordpress.org/support/users/noplanman/),
 * Thanks for your patience. We are currently in the process of analyzing this problem,
   and we plan to address it in our upcoming 2.6.0 release. Please stay tuned for
   our forthcoming release, which will contain the necessary fixes. Your patience
   is greatly appreciated.
 * Thanks and regards,
   Support Team – WPExperts
 *  [smakazmi15](https://wordpress.org/support/users/smakazmi15/)
 * (@smakazmi15)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-response/#post-17067700)
 * Hi [@noplanman](https://wordpress.org/support/users/noplanman/),
 * I hope you are doing well.
 * We have released the update. Just update your plugin to it’s latest update and
   then check. Still is there anything we can help you with do let us know.
 * Thanks and Regards,
   Support Team-WP Experts.

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

The topic ‘Undefined variable $response’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [smakazmi15](https://wordpress.org/support/users/smakazmi15/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-response/#post-17067700)
 * Status: resolved