document
GitHubGitHub (opens in a new tab)
  • Getting Started
    • Installation
    • Directory Structure
    • Commands
    • Package
    • Controller
    • Eloquent
    • Datagrid
    • Content
    • Category
    • Event
    • Support Events
    • Form Builder
    • Mailer
    • Routing
    • Interfaces
    • Load Reduce
    • Octane
    • Testing
    • Concepts
    • Cookie
    • Dialog
    • Form Builder
    • Grid View
    • Get Started
    • Layouts
    • Local Store
    • Routing
    • Sagas
    • Service
    • Theme
    • Typings
    • Validation
    • When Lib
    • Translation
    • FlatList View
    • Layouts
    • Reducers
    • Sagas
    • Services
    • Translations
    • Concepts
    • Core Components
    • Router

  • New App
  • New Theme
  • New Language

  • RESTful API (opens in a new tab)
  • Postman Collection (opens in a new tab)
  • OpenAPI Spec (opens in a new tab)
  • Class References (opens in a new tab)

  • Community (opens in a new tab)
  • Demo Site (opens in a new tab)
  • AppStore (opens in a new tab)
  • User Manuals (opens in a new tab)
  • Client Area (opens in a new tab)
  • Developer Program (opens in a new tab)

On This Page

  • Add Custom Mail Transport
Question? Give us feedback → (opens in a new tab)Edit this page
Backend
Mailer

Add Custom Mail Transport

In other to add custom storage, add new driver type="mail-transport" to drivers.php

example

<?php
return [
    // other drivers
    [
        'driver'      => 'MetaFox\\Core\\Http\\Resources\\v1\\Admin\\MailerSmtpSettingForm',
        'type'        => 'form-mailer',
        'name'        => 'smtp',
        'version'     => 'v1',
        'package_id'  => 'metafox/core',
        'alias'       => null,
        'is_admin'    => 1,
        'is_active'   => 1,
        'is_preload'  => 0,
        'title'       => 'SMTP Mail Transport',
        'url'         => '',
        'description' => '',
    ];
]
Form BuilderRouting

Copyright © 2024  phpFox LLC. All rights reserved.