2024-03-19 20:19:27 +01:00
|
|
|
@if($mailOption == "option-smtp")
|
|
|
|
<div id="mail-smtp" data-enabled='true'>
|
2024-05-26 21:16:04 +02:00
|
|
|
<input type='text' class="input-dark" name='smtp-domain' id='smtp-domain' placeholder='domain'value="{{$mailConfig['smtp']['domain']}}"/>
|
|
|
|
<input type='text' class="input-dark" name='smtp-email' id='smtp-email' placeholder='email' value="{{$mailConfig['smtp']['email']}}" />
|
|
|
|
<input type='text' class="input-dark" name='smtp-pass' id='smtp-pass' placeholder='password' value="{{$mailConfig['smtp']['password']}}"/>
|
2024-03-19 20:19:27 +01:00
|
|
|
</div>
|
|
|
|
<div id="mail-mg" data-enabled='false'>
|
2024-05-26 21:16:04 +02:00
|
|
|
<input type='text' class="input-dark" name='mg-domain' id='mg-domain' placeholder='domain' value="{{$mailConfig['mailgun']['domain']}}" />
|
|
|
|
<input type='text' class="input-dark" name='mg-key' id='mg-key' placeholder='api key' value="{{$mailConfig['mailgun']['key']}}"/>
|
2024-03-19 20:19:27 +01:00
|
|
|
</div>
|
|
|
|
@elseif($mailOption == 'option-mg')
|
|
|
|
<div id="mail-smtp" data-enabled='false'>
|
2024-05-26 21:16:04 +02:00
|
|
|
<input type='text' class="input-dark" name='smtp-domain' id='smtp-domain' placeholder='domain'value="{{$mailConfig['smtp']['domain']}}"/>
|
|
|
|
<input type='text' class="input-dark" name='smtp-email' id='smtp-email' placeholder='email' value="{{$mailConfig['smtp']['email']}}" />
|
|
|
|
<input type='text' class="input-dark" name='smtp-pass' id='smtp-pass' placeholder='password' value="{{$mailConfig['smtp']['password']}}"/>
|
2024-03-19 20:19:27 +01:00
|
|
|
</div>
|
|
|
|
<div id="mail-mg" data-enabled='true'>
|
2024-05-26 21:16:04 +02:00
|
|
|
<input type='text' class="input-dark" name='mg-domain' id='mg-domain' placeholder='domain' value="{{$mailConfig['mailgun']['domain']}}" />
|
|
|
|
<input type='text' class="input-dark" name='mg-key' id='mg-key' placeholder='api key' value="{{$mailConfig['mailgun']['key']}}"/>
|
2024-03-19 20:19:27 +01:00
|
|
|
</div>
|
|
|
|
@else
|
|
|
|
<div id="mail-smtp" data-enabled='false'>
|
2024-05-26 21:16:04 +02:00
|
|
|
<input type='text' class="input-dark" name='smtp-domain' id='smtp-domain' placeholder='domain'value="{{$mailConfig['smtp']['domain']}}"/>
|
|
|
|
<input type='text' class="input-dark" name='smtp-email' id='smtp-email' placeholder='email' value="{{$mailConfig['smtp']['email']}}" />
|
|
|
|
<input type='text' class="input-dark" name='smtp-pass' id='smtp-pass' placeholder='password' value="{{$mailConfig['smtp']['password']}}"/>
|
2024-03-19 20:19:27 +01:00
|
|
|
</div>
|
|
|
|
<div id="mail-mg" data-enabled='false'>
|
2024-05-26 21:16:04 +02:00
|
|
|
<input type='text' class="input-dark" name='mg-domain' id='mg-domain' placeholder='domain' value="{{$mailConfig['mailgun']['domain']}}" />
|
|
|
|
<input type='text' class="input-dark" name='mg-key' id='mg-key' placeholder='api key' value="{{$mailConfig['mailgun']['key']}}"/>
|
2024-03-19 20:19:27 +01:00
|
|
|
</div>
|
|
|
|
@endif
|