我想在一封电子邮件中将多个记录发送到多个收据

时间:2018-03-24 13:35:04

标签: php

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

/*
Tested working with PHP5.4 and above (including PHP 7 )
*/
require_once './vendor/autoload.php';

use FormGuide\Handlx\FormHandler; 

$pp = new FormHandler(); 

$validator = $pp->getValidator();
$validator->fields(['fname','cnic','email','cell'])->areRequired()->maxLength(100);
$validator->field('email')->isEmail();


$pp->sendEmailTo('sasbukhari96@gmail.com','email'); // ← Your email here

echo $pp->process($_POST);

0 个答案:

没有答案