Skip to content

Commit 84bb722

Browse files
committed
Resolve No validation Email in Store->Configurations->Sales->Sales Emails (issue 24137)
1 parent bdcaeaf commit 84bb722

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 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>
@@ -241,6 +242,7 @@
241242
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
242243
<label>Send Invoice Email Copy To</label>
243244
<comment>Comma-separated</comment>
245+
<validate>validate-emails</validate>
244246
</field>
245247
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
246248
<label>Send Invoice Email Copy Method</label>
@@ -270,6 +272,7 @@
270272
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
271273
<label>Send Invoice Comment Email Copy To</label>
272274
<comment>Comma-separated</comment>
275+
<validate>validate-emails</validate>
273276
</field>
274277
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
275278
<label>Send Invoice Comments Email Copy Method</label>
@@ -299,6 +302,7 @@
299302
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
300303
<label>Send Shipment Email Copy To</label>
301304
<comment>Comma-separated</comment>
305+
<validate>validate-emails</validate>
302306
</field>
303307
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
304308
<label>Send Shipment Email Copy Method</label>
@@ -328,6 +332,7 @@
328332
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
329333
<label>Send Shipment Comment Email Copy To</label>
330334
<comment>Comma-separated</comment>
335+
<validate>validate-emails</validate>
331336
</field>
332337
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
333338
<label>Send Shipment Comments Email Copy Method</label>
@@ -357,6 +362,7 @@
357362
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
358363
<label>Send Credit Memo Email Copy To</label>
359364
<comment>Comma-separated</comment>
365+
<validate>validate-emails</validate>
360366
</field>
361367
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
362368
<label>Send Credit Memo Email Copy Method</label>
@@ -386,6 +392,7 @@
386392
<field id="copy_to" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
387393
<label>Send Credit Memo Comment Email Copy To</label>
388394
<comment>Comma-separated</comment>
395+
<validate>validate-emails</validate>
389396
</field>
390397
<field id="copy_method" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
391398
<label>Send Credit Memo Comments Email Copy Method</label>

0 commit comments

Comments
 (0)