@extends('layouts.app') @section('title_full', __('Connection Settings').' - '.$mailbox->name) @section('body_attrs')@parent data-mailbox_id="{{ $mailbox->id }}"@endsection @section('sidebar') @include('partials/sidebar_menu_toggle') @include('mailboxes/sidebar_menu') @endsection @section('content')
{{ __('Connection Settings') }}
@include('mailboxes/connection_menu') @include('partials/flash_messages')
{{ csrf_field() }}
{!! __("You can read more about fetching emails :%a_begin%here:%a_end%.", ['%a_begin%' => '', '%a_end%' =>'']) !!}
@include('partials/field_error', ['field'=>'in_protocol'])
{{--@include('partials/field_error', ['field'=>'in_server'])--}}
{{--@include('partials/field_error', ['field'=>'in_port'])--}}
oauthEnabled()) readonly @endif > {{--@include('partials/field_error', ['field'=>'in_username'])--}}
oauthEnabled()) readonly @endif>

oauthGetParam('provider') == \MailHelper::OAUTH_PROVIDER_MICROSOFT) class="text-success" @endif>Microsoft Exchange @if (!$mailbox->oauthEnabled()) @if ($mailbox->in_username && $mailbox->in_password && !strstr($mailbox->in_username, '@')) – {{ __('Connect') }} @endif @elseif ($mailbox->oauthGetParam('provider') == \MailHelper::OAUTH_PROVIDER_MICROSOFT) – {{ __('Disconnect') }} @endif ({{ __('Help') }})

{{--@include('partials/field_error', ['field'=>'in_password'])--}}
@include('partials/field_error', ['field'=>'in_encryption'])
{{ __('Get folders') }} @include('partials/field_error', ['field'=>'in_imap_folders'])
in_validate_cert))checked="checked"@endif >
@include('partials/field_error', ['field'=>'in_validate_cert'])
{!! __("Make sure to save settings before checking connection.") !!}
{!! __("Enter IMAP folder name to save outgoing replies if your mail service provider does not do it automatically (Gmail does it), otherwise leave it blank.") !!}

@action('mailbox.connection_incoming.after_default_settings', $mailbox)
 
@endsection @section('javascript') @parent mailboxConnectionInit('{{ App\Mailbox::OUT_METHOD_SMTP }}'); mailboxConnectionIncomingInit(); @endsection