Title: Undefined variable $mail_data
Last modified: August 3, 2023

---

# Undefined variable $mail_data

 *  [mtalijan](https://wordpress.org/support/users/mtalijan/)
 * (@mtalijan)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-mail_data/)
 * Hello,
   I had a problem with email notifications from Gravity forms until I downgraded
   ZeptoMail from 2.2.1 to 2.0.2. This is the error I have in logs, can you please
   check if it’s because of your latest update?Undefined variable $mail_datain wp_mail
   called at /nas/content/live/nrsmultisites/wp-content/plugins/gravityforms/common.
   php **(2361)**in GFCommon::send_email called at /nas/content/live/nrsmultisites/
   wp-content/plugins/gravityforms/common.php **(2098)**in GFCommon::send_notification
   called at /nas/content/live/nrsmultisites/wp-content/plugins/gravityforms/common.
   php **(2144)**…Common::send_notifications called at /nas/content/live/nrsmultisites/
   wp-content/plugins/gravityforms/includes/api.php **(2283)**in GFAPI::send_notifications
   called at /nas/content/live/nrsmultisites/wp-content/plugins/gravityforms/common.
   php **(2151)**…m_submission_notifications called at /nas/content/live/nrsmultisites/
   wp-content/plugins/gravityforms/form_display.php **(1827)**…Display::handle_submission
   called at /nas/content/live/nrsmultisites/wp-content/plugins/gravityforms/form_display.
   php **(196)**…FFormDisplay::process_form called at /nas/content/live/nrsmultisites/
   wp-content/plugins/gravityforms/gravityforms.php **(865)**in GFForms::maybe_process_form
   called at /nas/content/live/nrsmultisites/wp-includes/class-wp-hook.php **(308)**
   in WP_Hook::apply_filters called at /nas/content/live/nrsmultisites/wp-includes/
   class-wp-hook.php **(332)**in WP_Hook::do_action called at /nas/content/live/
   nrsmultisites/wp-includes/plugin.php **(565)**in do_action_ref_array called at/
   nas/content/live/nrsmultisites/wp-includes/class-wp.php **(797)**in WP::main 
   called at /nas/content/live/nrsmultisites/wp-includes/functions.php **(1334)**
   in wp called at /nas/content/live/nrsmultisites/wp-blog-header.php **(16)**in
   require called at /nas/content/live/nrsmultisites/index.php **(17)**

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

 *  Thread Starter [mtalijan](https://wordpress.org/support/users/mtalijan/)
 * (@mtalijan)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-mail_data/#post-16947672)
 * This also happens with CF7 plugin so it’s not Gravity form problem.
 *  Plugin Author [Zoho Mail](https://wordpress.org/support/users/zmintegration/)
 * (@zmintegration)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-mail_data/#post-16952018)
 * [@mtalijan](https://wordpress.org/support/users/mtalijan/),
 * We apologize for any inconvenience caused.
 * We would like to inform you that the issue you reported has been addressed and
   fixed in the latest ZeptoMail v2.2.2 update. So, please try to download the latest
   version and check.
 * For any further queries or assistance, drop an email to support(AT)zohomail(DOT)
   com.
 * Regards,
   Gopinath.D
 *  Thread Starter [mtalijan](https://wordpress.org/support/users/mtalijan/)
 * (@mtalijan)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-mail_data/#post-16990032)
 * Thanks, but after updating to 2.2.2 issue is back. Emails are not sent and similar
   message is again in error logs.

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

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

 * ![](https://ps.w.org/transmail/assets/icon-256x256.png?rev=2372126)
 * [Zoho ZeptoMail](https://wordpress.org/plugins/transmail/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/transmail/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/transmail/)
 * [Active Topics](https://wordpress.org/support/plugin/transmail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/transmail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/transmail/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mtalijan](https://wordpress.org/support/users/mtalijan/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-mail_data/#post-16990032)
 * Status: not resolved