sinevia/php-library-contact-as-a-service
Composer 安装命令:
composer require sinevia/php-library-contact-as-a-service
包简介
PHP Library. Contact as a Service
README 文档
README
A PHP library to provide contact-as-a-service. Contact form requests are sent to the sender's email address to be verified prior to sending to the final recipient.
Usage
$response = Sinevia\ContactAsAService::send([ 'From' => 'from@test.com', 'To' => 'to@test.com', 'Cc' => 'cc@test.com', 'Bcc' => 'bcc@test.com', 'Text' => 'Text', 'Html' => 'Html', 'Subject' => 'Subject', 'Origin' => 'Name of Contact Form', ]); if ($response['status'] == "success") { $message = 'Your request was successfully received. Before we process it further, check your email and click the confirmation link we have sent to you!'; } else { $message = 'Your request failed to be send. Please try again later!'; }
统计信息
- 总下载量: 232
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2018-12-18