Tired of setting up SMTP plugins on client sites all the time, or have to change the same information on several sites. Then you can use wcopMailout to make changes only one place. After you have setup the server part of the scripts, you can easily install the WordPress plugin or standalone version on your sites and have all e-mails run thru your e-mail service and only have to change SMTP details one place in the future.
- WordPress plugin with easy configuration of username / password
- Standalone code you can inplement on any site
- PHPMailer integration
- E-mail validation
Lorem ipsum dolor sit amet...
The standalone version requires you to work a bit. Implementing it into your site where needed.
Below you can see a simple way to use the standalone version.
<?php
require("client/standalone/code.php"); // wcioMailout function
// Send mail
// wcio_mail($to, $from, $subject, $message, $headers)
$headers = "Reply-To: [email protected]";
wcio_mail(
"[email protected]",
"[email protected]",
"Mail subject here",
"Email content here including HTML",
$headers);
?>
The headers part only accepts some type of headers. Here is the full allowed headers. When entering headers a new line is needed for the server part to split it up correctly.
From: [email protected]
Cc: [email protected]
Bcc: [email protected]
Reply-to: [email protected]
- PHP 7.5+
- cURL