@php $setupChannel = $setupChannel ?? null; if (! in_array($setupChannel, ['mail', 'line'], true)) { $setupChannel = null; } $inSetupFlow = $setupChannel !== null; @endphp @extends($inSetupFlow ? 'layouts.setup' : 'layouts.app') @php $listActiveQuery = array_filter(['setup_channel' => $setupChannel]); $listArchivedQuery = array_filter(['archived' => ($account->is_archived ?? false) ? 1 : 0, 'setup_channel' => $setupChannel]); $accountType = old('type', $account->type); $hideDeliveryType = $setupChannel !== null; $showMailFields = in_array($accountType, ['email', 'both'], true); $lineOnlyEdit = ! $showMailFields; $showLineFields = in_array($account->type, ['line', 'both'], true); $lineStepwiseSave = $showLineFields; @endphp @section('title') @if($setupChannel === 'mail') メール設定 @elseif($setupChannel === 'line') LINE設定 @else メール・LINE配信 - 各種設定 - {{ $account->name }} @endif @endsection @if(! $inSetupFlow) @section('delivery-primary-tabs') @include('account.partials.mail-delivery-primary-tabs', ['mailDeliveryTab' => 'accounts']) @endsection @endif @section('page-title') @if($setupChannel === 'mail') メール設定 @elseif($setupChannel === 'line') LINE設定 @else 各種設定 — {{ $account->name }} @endif @endsection @if(! $inSetupFlow) @section('page-subtitle') @if($setupChannel === 'mail') 「{{ $account->name }}」の送信者名・送信元メール・SMTPを編集しています。 @elseif($setupChannel === 'line') @if($lineOnlyEdit) アカウント名と LINE公式アカウントの連携(Messaging API・LINEログイン)をこの画面で設定します。メールの送信者名・送信元は LINE専用では使いません。 @else 「{{ $account->name }}」はメール併用です。送信者・SMTP と下の LINE連携の両方を設定してください。 @endif @else 「{{ $account->name }}」のメール送信(送信者・SMTP)を編集しています。LINE の Messaging API などはシナリオ一覧の「LINEアカウント設定」です。タブにマウスを乗せると、送信用アカウントと送信ドメイン認証の違いが表示されます。 @endif @endsection @endif @push('styles') @endpush @if($inSetupFlow) @section('setup_body') @else @section('content') @endif @if($inSetupFlow)
@else @endifこの「基本情報」では、この送信用アカウントの表示名(アカウント名)の変更と、アーカイブ(棚上げ)の切り替えだけを行います。
LINEとの連携設定に関しては、少し下の「LINE連携」で実施します。
保存済みの送信元で、入力した宛先へ 1 通だけ送ります(外部SMTPを利用するがオンのときはその経路、オフのときはサーバー既定)。まずは更新するで設定を保存してから試してください。 DKIM/DMARC がメール本文で PASS するかは DNS と送信サービス側にもよります。