Describe the bug
A 2nd FormLog is created when SendEmailMessage::sendAutoresponderMessage() is called
To Reproduce
Steps to reproduce the behavior:
Create a form in the CMS
Configure Autoresponder for that form
Submit the form on the frontend
Check the FormLogs section of the CMS to confirm that 2 Logs were created for a single form submission.
Expected behavior
Only 1 FormLog should be created per form submission
Screenshots
October version
2.2.25
Plugin version
2.2.0
Additional context
This problem can be fixed by removing line 59 in formbuilder/listeners/SendEmailMessage.php, in the function sendAutoresponderMessage() remove $this->setHeaders($message);
Describe the bug A 2nd FormLog is created when SendEmailMessage::sendAutoresponderMessage() is called
To Reproduce Steps to reproduce the behavior:
Expected behavior Only 1 FormLog should be created per form submission
Screenshots![Capture](https://user-images.githubusercontent.com/44284080/200474071-68062a46-ffbd-4371-ac9c-a6ed22e4b4a3.PNG)
October version 2.2.25
Plugin version 2.2.0
Additional context This problem can be fixed by removing line 59 in formbuilder/listeners/SendEmailMessage.php, in the function sendAutoresponderMessage() remove $this->setHeaders($message);