Using `mail_replyto` component property crash sending mail
- wintercms 1.1.7
- foms 2.0.0
If mail_replyto component property is used to refer a form field, then the mail notification result in an error :
Swift_RfcComplianceException: Address in mailbox given [email] does not comply with RFC 2822, 3.6.2.
In this case I want to use the email field of my form.
When I was looking for the cause of the problem, I realised that the line https://github.com/skydiver/wn-forms-plugin/blob/805f3aff2ba4ae768d61b5fedbae913e0cf1dcf6/classes/Mails/Notification.php#L74
May be changed to $message->replyTo($this->post[$this->properties['mail_replyto']]); if we want the reply field of mail to be set.
The only workaround currently found is to remove the reply_to property from the component.
- wintercms 1.1.8
- foms 2.0.0 Same issue
Well still waiting for a fix.
Did #15 will be merged to close this issue?
@skydiver ... Is this plugin still maintained?