I need to create a function that uses a form (preferably Contact Form 7) where visitors can indicate that post by sending the email of a friend, and that friend should receive the email with the content of the post and the image featured feature.
I have tried with the hook 'wpcf7_before_send_mail' of CF7 but I was not successful, the image is not sent.