remove sparkpost and mandrill

This commit is contained in:
raishvaria
2019-11-19 12:17:44 +05:30
parent f1711ac2e9
commit 3b06e62502
18 changed files with 43 additions and 1073 deletions

View File

@ -51,18 +51,6 @@ class MailEnvironmentRequest extends FormRequest
];
break;
case 'sparkpost':
return [
'mail_driver' => 'required|string|max:50',
'mail_host' => 'required|string|max:50',
'mail_port' => 'required|max:50',
'mail_sparkpost_secret' => 'required|string',
'mail_encryption' => 'required|string|max:50',
'from_name' => 'required|string|max:50',
'from_mail' => 'required|string|max:50',
];
break;
case 'ses':
return [
'mail_driver' => 'required|string|max:50',
@ -89,19 +77,6 @@ class MailEnvironmentRequest extends FormRequest
'from_mail' => 'required|string|max:50',
];
break;
case 'mandrill':
return [
'mail_driver' => 'required|string|max:50',
'mail_host' => 'required|string|max:50',
'mail_port' => 'required|max:50',
'mail_mandrill_secret' => 'required|string',
'mail_encryption' => 'required|string|max:50',
'from_name' => 'required|string|max:50',
'from_mail' => 'required|string|max:50',
];
break;
}
}
}