Regarding that syntax error, the approved fix is:
1) change the From field to: [your-name] <wordpress@your-domain.com>
2) add the following to the Additional Headers field: Reply-To: [your-email]
Thank you for the answer.
My fault: I did not specify the syntax error occured in e-mail (2), sorry for that.
1
The problem lies in the To field.
[your-name] <[your-email]>
The From field says something like:
some plain text <mail@my-domain>
The Additional Headers field is set to:
Reply-To:mail@my-domain
2
All settings works fine, e-mails are sent as configured.
Only the To field gives a wrong? sytax error.
Are both those fields set as required(*) in mail-tags in the Form? e.g.
[text* your-name]
[email* your-email]
@barnez: thank you for asking.
And, yes, those fields are set to required*
~~~~
Update: I checked today again.
The form with the configuration syntax error (see above) does not show it anymore.
But another form with
[your-name] <[your-email]>
in the e-mail (1) To field shows the syntax error.
Both are working fine, tested it again.
This is because you should not be using e-mail(1) as an autoresponder. The To field in e-mail(1) should have a fixed address e.g.
To: info@your-domain.com
@barnez, thank you very much for taking your time.
In this case, I need the autoresponder because I use it to automatically send a special link to the subcriber of a service, then I send a notification to the admin.
I could use it the other way (first admin, then subscriber), but documentation says:
Mail (2) is sent only when the primary Mail has been sent successfully.
That’s what I want.
And – despite the syntax error message everything seems to work properly.