PHP code example of crazy-email-package / send-email

1. Go to this page and download the library: Download crazy-email-package/send-email 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/ */

    

crazy-email-package / send-email example snippets

json
// for web
Route::post('/crazy_email', SendMailWebController::class)->name('crazy_email.send_mail');

//  for api
Route::post('/crazy_email', SendMailApiController::class);