diff --git a/interface/web/mail/lib/lang/ar_mail_forward.lng b/interface/web/mail/lib/lang/ar_mail_forward.lng index 95f9a134958206727bcd41e411e2feb63700d21e..3f9cfa956b329bc9f19e1316f32429ea5a5da1c5 100644 --- a/interface/web/mail/lib/lang/ar_mail_forward.lng +++ b/interface/web/mail/lib/lang/ar_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'There is already a mailbox with this email addre $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/bg_mail_forward.lng b/interface/web/mail/lib/lang/bg_mail_forward.lng index 538d65dc2a52e5e54172063dbdf616ba89797ab4..b5c80dd89d244a76039b09d25322a3dce8939b19 100644 --- a/interface/web/mail/lib/lang/bg_mail_forward.lng +++ b/interface/web/mail/lib/lang/bg_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Вече съществува пощенска $wb['domain_txt'] = 'Домейн'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/br_mail_forward.lng b/interface/web/mail/lib/lang/br_mail_forward.lng index 5a2400e49b9b215f9cfd68b5a9b1b86341e3e852..1402019fdcf6276743b06810ed3555e63077563a 100644 --- a/interface/web/mail/lib/lang/br_mail_forward.lng +++ b/interface/web/mail/lib/lang/br_mail_forward.lng @@ -6,6 +6,8 @@ $wb['limit_mailforward_txt'] = 'O limite de encaminhamentos de e-mail para esta $wb['duplicate_mailbox_txt'] = 'Já existe um conta de e-mail idêntica.'; $wb['domain_txt'] = 'Domínio'; $wb['source_txt'] = 'Endereço de e-mail de origem'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Por favor informe um endereço de e-mail válido.'; $wb['send_as_txt'] = 'Enviar como'; $wb['send_as_exp'] = 'Permitir o destino enviar e-mails usando este endereço como origem (se o destino for interno)'; diff --git a/interface/web/mail/lib/lang/ca_mail_forward.lng b/interface/web/mail/lib/lang/ca_mail_forward.lng index c4a6c1ea260308c1f7017044c3ed259318c3ee9a..7b8feb1e8f1d7bdcd3b58b02dd897f7adaf2fc2b 100644 --- a/interface/web/mail/lib/lang/ca_mail_forward.lng +++ b/interface/web/mail/lib/lang/ca_mail_forward.lng @@ -6,6 +6,8 @@ $wb['limit_mailforward_txt'] = 'Le nombre maximal de transferts d\'email pour vo $wb['duplicate_mailbox_txt'] = 'Il y a déja une boite courriel avec cette adresse courriel'; $wb['domain_txt'] = 'Domaine'; $wb['source_txt'] = 'Source courriel'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/cz_mail_forward.lng b/interface/web/mail/lib/lang/cz_mail_forward.lng index f471ce97f47bf7d4fb8505ea02263daf6401d216..0685fbbd4946413e072f499b82be5ad8e85bea66 100644 --- a/interface/web/mail/lib/lang/cz_mail_forward.lng +++ b/interface/web/mail/lib/lang/cz_mail_forward.lng @@ -6,6 +6,8 @@ $wb['limit_mailforward_txt'] = 'Byl dosažen maximální počet e-mail předáv $wb['duplicate_mailbox_txt'] = 'Mailbox s touto adresou již existuje'; $wb['domain_txt'] = 'Doména'; $wb['source_txt'] = 'Zdrojový e-mail'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Zadejte prosím platnou e-mailovou adresu.'; $wb['send_as_txt'] = 'Odeslat jako'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/de_mail_forward.lng b/interface/web/mail/lib/lang/de_mail_forward.lng index f10d789671ee572ff4f4cdda1acc489c20588480..4825ef781121cf0e4cfea82145863170b505df65 100644 --- a/interface/web/mail/lib/lang/de_mail_forward.lng +++ b/interface/web/mail/lib/lang/de_mail_forward.lng @@ -6,6 +6,8 @@ $wb['limit_mailforward_txt'] = 'Die maximale Anzahl an E-Mail Weiterleitungen f $wb['duplicate_mailbox_txt'] = 'Es existiert bereits ein E-Mail Konto mit dieser Adresse.'; $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Quell E-Mail Adresse'; +$wb['destination_error_empty'] = 'Das Weiterleitungsziel darf nicht leer sein.'; +$wb['destination_error_isemail'] = 'Das Weiterleitungsziel enthält mindestens eine ungültige E-Mail-Adresse.'; $wb['email_error_isemail'] = 'Bitte geben Sie eine gültige E-Mail Adresse an.'; $wb['send_as_txt'] = 'Senden als'; $wb['send_as_exp'] = 'Ziel erlauben, die Adresse als Absender zu nutzen (Nur, falls das Ziel intern ist)'; diff --git a/interface/web/mail/lib/lang/dk_mail_forward.lng b/interface/web/mail/lib/lang/dk_mail_forward.lng index 144435b7be0cdcfd086df5aa17ffebc80a4c312f..ba47d8421d438cea4b5c29871bd1351c0bca2731 100644 --- a/interface/web/mail/lib/lang/dk_mail_forward.lng +++ b/interface/web/mail/lib/lang/dk_mail_forward.lng @@ -6,6 +6,8 @@ $wb['limit_mailforward_txt'] = 'Max. antal af e-mail forwarders for din konto er $wb['duplicate_mailbox_txt'] = 'Der er allerede en mailboks med denne e-mail adresse'; $wb['domain_txt'] = 'Domæne'; $wb['source_txt'] = 'Kilde E-mail'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/el_mail_forward.lng b/interface/web/mail/lib/lang/el_mail_forward.lng index 9a316c30188986eaebfa5ba96aaf3f3df94e0ab9..8893b2fa0ffb886cefbceea5ad37f2d7a9ef45d0 100644 --- a/interface/web/mail/lib/lang/el_mail_forward.lng +++ b/interface/web/mail/lib/lang/el_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Υπάρχει ήδη μια θυρίδα με $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/en_mail_forward.lng b/interface/web/mail/lib/lang/en_mail_forward.lng index afa33635608e8f7eb3ac262cdbe2bf0116beaddc..c38e2bf4ffe7c38e3ea4cdce2acf7444e1ae3b8b 100644 --- a/interface/web/mail/lib/lang/en_mail_forward.lng +++ b/interface/web/mail/lib/lang/en_mail_forward.lng @@ -6,6 +6,8 @@ $wb['limit_mailforward_txt'] = 'The max. number of email forwarders for your acc $wb['duplicate_mailbox_txt'] = 'There is already a mailbox with this email address'; $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/es_mail_forward.lng b/interface/web/mail/lib/lang/es_mail_forward.lng index 2520e06b39b3d8138abb53cecfb42a1066aade6e..7ea99ea61909f1b6388fbe7a0c58454f15f73a73 100644 --- a/interface/web/mail/lib/lang/es_mail_forward.lng +++ b/interface/web/mail/lib/lang/es_mail_forward.lng @@ -3,6 +3,8 @@ $wb['active_txt'] = 'Habilitado'; $wb['destination_txt'] = 'Destino del correo'; $wb['domain_txt'] = 'Dominio'; $wb['duplicate_mailbox_txt'] = 'Ya existe un buzón con esta cuenta de correo.'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Por favor, introduzca una dirección de correo válida.'; $wb['email_txt'] = 'Correo'; $wb['greylisting_txt'] = 'Habilitar Lista Gris'; diff --git a/interface/web/mail/lib/lang/fi_mail_forward.lng b/interface/web/mail/lib/lang/fi_mail_forward.lng index 8f201579ec07e6f0dbaa06a9d6720d3e41da4407..80d34b500437108ba8d7300d27dd2af6e561fb5e 100644 --- a/interface/web/mail/lib/lang/fi_mail_forward.lng +++ b/interface/web/mail/lib/lang/fi_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Edelleenlähetyssääntö osoitteelle on jo olem $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/fr_mail_forward.lng b/interface/web/mail/lib/lang/fr_mail_forward.lng index 4c40b194193258227cfc625e6b1e0f3204550d72..fd6d13c6bb0d84e4f1917cbc0f368b24d2ae2f5b 100644 --- a/interface/web/mail/lib/lang/fr_mail_forward.lng +++ b/interface/web/mail/lib/lang/fr_mail_forward.lng @@ -6,6 +6,8 @@ $wb['limit_mailforward_txt'] = 'Le nombre maximal de transferts d’e-mail pour $wb['duplicate_mailbox_txt'] = 'Il y a déja une boîte e-mail avec cette adresse e-mail'; $wb['domain_txt'] = 'Domaine'; $wb['source_txt'] = 'Source Email'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/hr_mail_forward.lng b/interface/web/mail/lib/lang/hr_mail_forward.lng index 3d815230ab90d4b386808c6bd3cb58d175369059..10abd5fe9286fceb3d1f40b3707c369bafcc39f3 100644 --- a/interface/web/mail/lib/lang/hr_mail_forward.lng +++ b/interface/web/mail/lib/lang/hr_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Već postoji mailbox sa tom email adresom'; $wb['domain_txt'] = 'Domena'; $wb['source_txt'] = 'Izvorni email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/hu_mail_forward.lng b/interface/web/mail/lib/lang/hu_mail_forward.lng index 7d46b784abd3c624f6a6afb186655643f9b32a48..c58ae29d317bd3de03e716cbfe77f76cb068eaaa 100644 --- a/interface/web/mail/lib/lang/hu_mail_forward.lng +++ b/interface/web/mail/lib/lang/hu_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'There is already a mailbox with this email addre $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/id_mail_forward.lng b/interface/web/mail/lib/lang/id_mail_forward.lng index 3db6c759c5c28309035951c49bcd4afcbc9d34b0..5f0c788878e3cb5223205438c0cfaa1b47997843 100644 --- a/interface/web/mail/lib/lang/id_mail_forward.lng +++ b/interface/web/mail/lib/lang/id_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Sudah ada mailbox untuk alamat email ini'; $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/it_mail_forward.lng b/interface/web/mail/lib/lang/it_mail_forward.lng index e71f91b4344a532aac9d3969f23560cb54d8c2ad..3b5210fba1e19d02aa9ae23fcc771937f1910e1e 100644 --- a/interface/web/mail/lib/lang/it_mail_forward.lng +++ b/interface/web/mail/lib/lang/it_mail_forward.lng @@ -6,6 +6,8 @@ $wb['limit_mailforward_txt'] = 'Raggiunto il numero massimo di forwarders per il $wb['duplicate_mailbox_txt'] = 'Esiste già una casella email per questo indirizzo'; $wb['domain_txt'] = 'Dominio'; $wb['source_txt'] = 'Source Email'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/ja_mail_forward.lng b/interface/web/mail/lib/lang/ja_mail_forward.lng index eb742ce42635357753a5409ab9a3710a58ee971e..f849f7bf18070bb4073d96c1982e26063dac971d 100644 --- a/interface/web/mail/lib/lang/ja_mail_forward.lng +++ b/interface/web/mail/lib/lang/ja_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'このメールアドレス向けのメールボ $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/nl_mail_forward.lng b/interface/web/mail/lib/lang/nl_mail_forward.lng index 4fa4422178a9edf261cd41279ee7b632e33b6f5b..6bf586a0d2b849cf643a71d2cae3f7b5e74c5b86 100644 --- a/interface/web/mail/lib/lang/nl_mail_forward.lng +++ b/interface/web/mail/lib/lang/nl_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Er is al een mailbox met dit e-mailadres'; $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/pl_mail_forward.lng b/interface/web/mail/lib/lang/pl_mail_forward.lng index 42ba61e3738670ccd0655db2aef6cf3756426c3f..ce79e1093894a8698e8d4dd9b3f3e63fa9ef1121 100644 --- a/interface/web/mail/lib/lang/pl_mail_forward.lng +++ b/interface/web/mail/lib/lang/pl_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Istnieje już skrzynka pocztowa o podanym adresi $wb['domain_txt'] = 'Domena'; $wb['source_txt'] = 'E-mail źródłowy'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/pt_mail_forward.lng b/interface/web/mail/lib/lang/pt_mail_forward.lng index 784acfa1d33112f1779adb1f4f7bf04194c42bfd..db67461967dd5fa9926bf34ea2dfb0a04d287ad8 100644 --- a/interface/web/mail/lib/lang/pt_mail_forward.lng +++ b/interface/web/mail/lib/lang/pt_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Já existe uma caixa de correio com este endere $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/ro_mail_forward.lng b/interface/web/mail/lib/lang/ro_mail_forward.lng index 8e2ed55d74a4909e893dbaa32384370612bcc630..5e00bf05271f58029e2676aad9430019bede7592 100644 --- a/interface/web/mail/lib/lang/ro_mail_forward.lng +++ b/interface/web/mail/lib/lang/ro_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'There is already a mailbox with this email addre $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/ru_mail_forward.lng b/interface/web/mail/lib/lang/ru_mail_forward.lng index 94573623af8e1c737cf2efb19bc4d43d64c3df26..6eb11f4f9130677a55bfc428eba2863e143b17b8 100644 --- a/interface/web/mail/lib/lang/ru_mail_forward.lng +++ b/interface/web/mail/lib/lang/ru_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Почтовый ящик с таким имен $wb['domain_txt'] = 'Домен'; $wb['source_txt'] = 'Источник Email'; $wb['greylisting_txt'] = 'Включить серый список (Greylisting)'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Некорректный почтовый адрес.'; $wb['send_as_txt'] = 'Отправить как'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/se_mail_forward.lng b/interface/web/mail/lib/lang/se_mail_forward.lng index d49fd63ace6d2353df351ed1ac0a240274ff434d..7b0aa2bc163a924bb01a49550cd3ba44c36d8f49 100644 --- a/interface/web/mail/lib/lang/se_mail_forward.lng +++ b/interface/web/mail/lib/lang/se_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Det finns redan ett epostkonto med denna adress' $wb['domain_txt'] = 'Domän'; $wb['source_txt'] = 'Källadress'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/sk_mail_forward.lng b/interface/web/mail/lib/lang/sk_mail_forward.lng index 8932dc9ac5270af310f5ddf58f269b63198239b4..399971261aa76a5d0d3bf6c48333b66b7324c94f 100644 --- a/interface/web/mail/lib/lang/sk_mail_forward.lng +++ b/interface/web/mail/lib/lang/sk_mail_forward.lng @@ -7,6 +7,8 @@ $wb['duplicate_mailbox_txt'] = 'Existuje už schránku s touto e-mailovou adreso $wb['domain_txt'] = 'Domain'; $wb['source_txt'] = 'Source Email'; $wb['greylisting_txt'] = 'Enable greylisting'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Please enter a valid email address.'; $wb['send_as_txt'] = 'Send as'; $wb['send_as_exp'] = 'Allow target to send mail using this address as origin (if target is internal)'; diff --git a/interface/web/mail/lib/lang/tr_mail_forward.lng b/interface/web/mail/lib/lang/tr_mail_forward.lng index 2352cd945f1922157886698000a7d5637f5681d0..bdcd02a8623c212d9bfe7a8045a9d8d302becdaa 100644 --- a/interface/web/mail/lib/lang/tr_mail_forward.lng +++ b/interface/web/mail/lib/lang/tr_mail_forward.lng @@ -6,6 +6,8 @@ $wb['limit_mailforward_txt'] = 'Hesabınıza ekleyebileceğiniz en fazla e-posta $wb['duplicate_mailbox_txt'] = 'Bu e-posta adresini kullanan bir e-posta kutusu zaten var'; $wb['domain_txt'] = 'Etki Alanı'; $wb['source_txt'] = 'Kaynak E-posta'; +$wb['destination_error_empty'] = 'The destination must not be empty.'; +$wb['destination_error_isemail'] = 'The destination contains at least one invalid email address.'; $wb['email_error_isemail'] = 'Lütfen geçerli bir e-posta adresi yazın.'; $wb['send_as_txt'] = 'Gönderen'; $wb['send_as_exp'] = 'Hedef bu adresi kaynak olarak göstererek e-posta gönderebilsin (hedef iç kullanıcı ise)'; diff --git a/interface/web/mail/mail_forward_edit.php b/interface/web/mail/mail_forward_edit.php index e783ad98a9e390363a8b32c34660027ff4c7203b..3106dc477c58dad075bc550a6c03698c9e7b5b6a 100644 --- a/interface/web/mail/mail_forward_edit.php +++ b/interface/web/mail/mail_forward_edit.php @@ -120,6 +120,19 @@ class page_action extends tform_actions { unset($this->dataRecord["email_local_part"]); unset($this->dataRecord["email_domain"]); + if(trim($this->dataRecord['destination']) == '') { + $app->tform->errorMessage .= $app->tform->lng('destination_error_empty') . '
'; + } else { + $targets = preg_split('/[,;\s]+/', trim($this->dataRecord['destination'])); + foreach($targets as $target) { + if(!$target || filter_var($target, FILTER_VALIDATE_EMAIL) === false) { + $app->tform->errorMessage .= $app->tform->lng('destination_error_isemail') . '
'; + break; + } + } + $this->dataRecord['destination'] = implode(', ', $targets); + } + //* Check if there is no active mailbox with this address $tmp = $app->db->queryOneRecord("SELECT count(mailuser_id) as number FROM mail_user WHERE postfix = 'y' AND email = ?", $this->dataRecord["source"]); if($tmp['number'] > 0) $app->tform->errorMessage .= $app->tform->lng("duplicate_mailbox_txt")."
"; diff --git a/interface/web/mail/templates/mail_forward_edit.htm b/interface/web/mail/templates/mail_forward_edit.htm index a5de2a00b73421a23ffb670af039169badba9867..128ad4cd7507ef820cd2b092db74e3f3d2180d02 100644 --- a/interface/web/mail/templates/mail_forward_edit.htm +++ b/interface/web/mail/templates/mail_forward_edit.htm @@ -11,7 +11,7 @@
- +