@extends('layouts/layoutMaster') @section('title', 'SMTP') @section('vendor-style') @vite([ 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss', 'resources/assets/vendor/libs/select2/select2.scss', 'resources/assets/vendor/libs/@form-validation/form-validation.scss', 'resources/assets/vendor/libs/animate-css/animate.scss', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss' ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/moment/moment.js', 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js', 'resources/assets/vendor/libs/select2/select2.js', 'resources/assets/vendor/libs/@form-validation/popular.js', 'resources/assets/vendor/libs/@form-validation/bootstrap5.js', 'resources/assets/vendor/libs/@form-validation/auto-focus.js', 'resources/assets/vendor/libs/cleavejs/cleave.js', 'resources/assets/vendor/libs/cleavejs/cleave-phone.js', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.js' ]) @endsection @section('page-script') @vite(['resources/js/smtp-manage.js']) @endsection @section('content')
SMTP Settings

Fill your SMTP Server Configuration

@csrf
{{-- Leave blank to keep the existing password. --}}
Steps to Activate SMTP
These SMTP settings are used to send email notifications to HR and your department head when you apply for leave.
1. Step One: Configure Mail Settings
SMTP settings

- Open HRMS, then navigate to Mail Settings.

- Fill in the following details:

   Mailer : smtp

   Host : smtp.zoho.com

   Port : 587

   Encryption : TLS

   Username : Your work email address

   Password : App-specific password (not your regular login password)

- To generate the app-specific password, follow the steps in the next section.

2. Step Two: Generate App-Specific Password
SMTP settings

- Go to the Zoho Mail website or open the Zoho Mail app.

- Navigate to My Account (refer to the image for guidance).

3. Step Three: Generate the App-Specific Password
SMTP settings

- Go to the Security section in your Zoho account.

- Under Application-Specific Passwords, click on the “Generate New Password” button.

4. Step Four: Complete Password Generation
SMTP settings

- In the Application-Specific Passwords pop-up, enter your app name. (e.g., hrms.mpiric.us)

- Click the “Generate” button.

5. Step Five: Use the Generated Password
SMTP settings

- After clicking Generate, you’ll see a password displayed (refer to the image for example).

- Copy this password and paste it into the Password field under Mail Settings in HRMS.

- Click Submit.

- Your SMTP configuration is now saved and active.

@endsection