File: app/config/email.php

Recommend this page to a friend!
  Classes of Dimitri Sitchet  >  dframework  >  app/config/email.php  >  Download  
File: app/config/email.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: dframework
Framework to build PHP applications
Author: By
Last change:
Date: 2 months ago
Size: 2,859 bytes
 

Contents

Download
<?php
/**
 * dFramework
 *
 * The simplest PHP framework for beginners
 * Copyright (c) 2019, Dimtrov Sarl
 * This content is released under the Mozilla Public License 2 (MPL-2.0)
 *
 * @package dFramework
 * @author Dimitri Sitchet Tomkeu <dev.dimitrisitchet@gmail.com>
 * @copyright Copyright (c) 2019, Dimtrov Sarl. (https://dimtrov.hebfree.org)
 * @copyright Copyright (c) 2019, Dimitri Sitchet Tomkeu. (https://www.facebook.com/dimtrovich)
 * @license https://opensource.org/licenses/MPL-2.0 MPL-2.0 License
 * @homepage https://dimtrov.hebfree.org/works/dframework
 * @version 3.0
 *
 */


/*
| -------------------------------------------------------------------
| EMAILS SETTINGS OF APPLICATION
| -------------------------------------------------------------------
| This file will contain the datas settings for the mail sending of your application.
|
| For complete instructions please consult the 'Mail Library' in User Guide.
|
*/



/*
|--------------------------------------------------------------------------
| Datas of connexion in mail server
|--------------------------------------------------------------------------
*/
$email['default']['connect'] = [
   
/**
     * HOST
     * Adresse du serveur de messagerie
     *
     * @var string
     */
   
'host' => 'localhost',

   
/**
     * USERNAME
     * Nom de l'utilisateur qui se connecte au serveur de messagerie
     *
     * @var string
     */
   
'username' => 'admin@localhost',

   
/**
     * PASSWORD
     * Mot de passe de l'utilisateur du serveur
     *
     * @var string
     */
   
'password' => 'admin',

   
/**
     * PORT
     * Port de communication du serveur de messagerie
     *
     * @var int
     */
   
'port' => 25,
   
   
/**
     * DEBUG
     * Specifie si on doit afficher ou non les erreurs en cas d'echec d'envoi d'email
     *
     * @var bool
     */
   
'debug' => true,
];


/*
|--------------------------------------------------------------------------
| Parameters of sending mail process
|--------------------------------------------------------------------------
*/
$email['default']['set'] = [
   
/**
     * METHOD
     * Protocole a utiliser pour l'envoi d'emails
     *
     * @var string
     */
   
'method' => 'SMTP',

   
/**
     * TIMEOUT
     * Delai d'attente SMTP en seconde
     *
     * @var int
     */
   
'timeout' => 300,

   
/**
     * CHARSET
     * Jeu de caracteres utilises dans le message
     *
     * @var string
     */
   
'charset' => 'utf-8',

   
/**
     * PRIORITY
     * Priorité du couriel
     *
     * @var int|null
     */
   
'priority' => null,

   
/**
     * ENCRYPTION
     * Cryptage SMTP
     *
     * @var string
     */
   
'encryption' => 'tls',
];


/**
 * DON'T TOUCH THIS LINE. IT'S USING BY CONFIG CLASS
 */
return compact('email');


For more information send a message to info at phpclasses dot org.