PHP code example of artsites / handle-mail

1. Go to this page and download the library: Download artsites/handle-mail 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/ */

    

artsites / handle-mail example snippets

`
php artisan vendor:publish --provider="Artsites\HandleMail\ToolServiceProvider" --tag="default"
$xslt
php artisan queue:table
php artisan queue:failed-table

php artisan migrate
$xslt
namespace Artsites\HandleMail\Http\Controllers\User;

class HandleMailController
{
    /**
     * @param Request $request
     * @param string $subject
     * @param null $callback
     * @return \Illuminate\Http\Response
     */
    public function post(Request $request, string $subject = 'Request', $callback = null)
resource/views/vendor/handle-mail/mail.blade.php