PHP code example of wenprise / email-helper
1. Go to this page and download the library: Download wenprise/email-helper 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/ */
wenprise / email-helper example snippets
ob_start();
// echo 字符串形式的表格内容。
$content = ob_get_clean();
$helper = new WenpriseEmailHelper();
$helper->send_mail('[email protected]', 'This is a test', $content);