netsells/contactformme

0.1 2016-06-14 09:23 UTC

This package is auto-updated.

Last update: 2024-10-28 14:12:58 UTC


README

A wrapper round the contactform.me service

It is created and maintained by the Netsells team

Usage

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

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

You can also specify the form name in the second argument of the constructor.

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