Title: Error when email is sent
Last modified: September 1, 2016

---

# Error when email is sent

 *  [mmchunt](https://wordpress.org/support/users/mmchunt/)
 * (@mmchunt)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-email-is-sent/)
 * After I send an email, I get the following message.
    Warning: unlink(): No such
   file or directory in /home/rockwa9/public_html/mhuntwd.com/pfcdc/wp-content/plugins/
   contact-form-7-paypal-extension-pro/cf7-paypal-submit-button.php on line 337
 *  if(isset($recipient) && !empty($recipient)){
    wp_mail( $recipient, $emailsubject,
   $emailcontent, $headers, $attachments ); **unlink($attachments); ** }
 * I do not have any attachments set up in my email.
 * [https://wordpress.org/plugins/contact-form-7-paypal-extension/](https://wordpress.org/plugins/contact-form-7-paypal-extension/)

Viewing 1 replies (of 1 total)

 *  [francistan77](https://wordpress.org/support/users/francistan77/)
 * (@francistan77)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-when-email-is-sent/#post-8428671)
 * I get the same error, did you find any solution for this? thanks

Viewing 1 replies (of 1 total)

The topic ‘Error when email is sent’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7-paypal-extension/assets/icon-256x256.png?
   rev=3240530)
 * [Accept PayPal Payments using Contact Form 7](https://wordpress.org/plugins/contact-form-7-paypal-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-paypal-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-paypal-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-paypal-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-paypal-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-paypal-extension/reviews/)

## Tags

 * [attachment](https://wordpress.org/support/topic-tag/attachment/)
 * [email](https://wordpress.org/support/topic-tag/email/)

 * 1 reply
 * 2 participants
 * Last reply from: [francistan77](https://wordpress.org/support/users/francistan77/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/error-when-email-is-sent/#post-8428671)
 * Status: not resolved