Skip to content

Commit 2c0f78b

Browse files
authored
ENGCOM-5626: Resolve No validation Email in Store->Configurations->Sales->Sales Emails (issue 24137) #24138
2 parents bdcaeaf + b546021 commit 2c0f78b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/code/Magento/Sales/etc/adminhtml/system.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@
183183
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
184184
<label>Send Order Email Copy To</label>
185185
<comment>Comma-separated</comment>
186+
<validate>validate-emails</validate>
186187
</field>
187188
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
188189
<label>Send Order Email Copy Method</label>
@@ -212,6 +213,7 @@
212213
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
213214
<label>Send Order Comment Email Copy To</label>
214215
<comment>Comma-separated</comment>
216+
<validate>validate-emails</validate>
215217
</field>
216218
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
217219
<label>Send Order Comments Email Copy Method</label>
@@ -241,6 +243,7 @@
241243
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
242244
<label>Send Invoice Email Copy To</label>
243245
<comment>Comma-separated</comment>
246+
<validate>validate-emails</validate>
244247
</field>
245248
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
246249
<label>Send Invoice Email Copy Method</label>
@@ -270,6 +273,7 @@
270273
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
271274
<label>Send Invoice Comment Email Copy To</label>
272275
<comment>Comma-separated</comment>
276+
<validate>validate-emails</validate>
273277
</field>
274278
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
275279
<label>Send Invoice Comments Email Copy Method</label>
@@ -299,6 +303,7 @@
299303
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
300304
<label>Send Shipment Email Copy To</label>
301305
<comment>Comma-separated</comment>
306+
<validate>validate-emails</validate>
302307
</field>
303308
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
304309
<label>Send Shipment Email Copy Method</label>
@@ -328,6 +333,7 @@
328333
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
329334
<label>Send Shipment Comment Email Copy To</label>
330335
<comment>Comma-separated</comment>
336+
<validate>validate-emails</validate>
331337
</field>
332338
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
333339
<label>Send Shipment Comments Email Copy Method</label>
@@ -357,6 +363,7 @@
357363
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
358364
<label>Send Credit Memo Email Copy To</label>
359365
<comment>Comma-separated</comment>
366+
<validate>validate-emails</validate>
360367
</field>
361368
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
362369
<label>Send Credit Memo Email Copy Method</label>
@@ -386,6 +393,7 @@
386393
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
387394
<label>Send Credit Memo Comment Email Copy To</label>
388395
<comment>Comma-separated</comment>
396+
<validate>validate-emails</validate>
389397
</field>
390398
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
391399
<label>Send Credit Memo Comments Email Copy Method</label>

0 commit comments

Comments
 (0)