Automatically save Contact Form 7 notification email as file

  contact-form-7, javascript, php, wordpress

I’m looking for a solution how I could save Message Body from CF7 notification email to a file.

For example. If user will make a submission CF7 should send a notification email but also save that notification (Message Body only actually) on server to file… It should be like mydomain.com/submission.txt
If there is another submission, the file should be overwritten.

I would be grateful if someone could help me with this. If there is any existing way to do this?

Thanks in advance.

Source: Ask Javascript Questions

LEAVE A COMMENT