PHP code example of netsells / contactformme

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

    

netsells / contactformme example snippets


$postman = new Netsells\ContactFormMe\Postman('CFMEPOSTIDENTIFIERHERE');

$postman->deliver([
    'name' => 'Sam Jordan',
    'email' => '[email protected]',
    'message' => 'Hello! This is a postman test.',
]);

$postman = new Netsells\ContactFormMe\Postman('CFMEPOSTIDENTIFIERHERE', 'quote_form');