Programmatically submission of webform - sends mail twice instead of single
1. Create webform handler where in submitForm() add some custom development and send mail through it for successfully custom development
2. Attach above handler to any webform
3. Programmaticlly submit that webform using WebformSubmissionForm::validateFormValues() and WebformSubmissionForm::submitFormValues().
: New Submission on
How to programmatically create and update a submission →
It sends mail first mail via successful when no error comes, and second mail via function
How to avoid sending mail twice?
Closed: cannot reproduce
5.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.