PHP code example of philippoehrlein / kirby-email-manager

1. Go to this page and download the library: Download philippoehrlein/kirby-email-manager library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

philippoehrlein / kirby-email-manager example snippets


return [
    'email' => [
        'noreply' => '[email protected]',
        'transport' => [
            'type' => 'smtp',
            'host' => 'smtp.server.com',
            'port' => 465,
            'security' => true,
            'auth' => true,
            'username' => 'SMTP_USERNAME',
            'password' => 'SMTP_PASSWORD'
        ]
    ]
];

From: <?= $form->email() 

 snippet('email-manager/form-wrapper');