I have a contact form. The smtp module is installed on the project. For smtp service we use smtp.gmail.com.
smtp module will collect all sendings and redirect them to the mail service, but my task is to add it to STORES> Configuration> GENERAL> Contacts> Email Options second mail. But there was validation
If you remove the validation and paste the mail as on the screen
then when submitting the form there will be such an error 5.1.2 The recipient address <[email protected] [email protected] 5.1.2> is not a valid RFC-5321 address. m21sm455969lfh. 39 - gsmtp