Pepipost Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
Pepipost is built on the philosophy to encourage good senders and to keep the email eco-system clean.
85% of today’s email is Spam and we don’t want to add up to that.
We have carried up that philosophy into the pricing model where we don’t charge for the emails which are being opened by the customers. Emails that are clicked, opened or engaged with will always be free.
Industry stats says 35-40% is the average open rate, hence that much of email volumes can be free. There is no limits, More your customer engagement is lesser will be your marketing spends. Entire pricing model is in your hands.
We care for each and every emails, and this is how we differentiate from our competitors.
The Pepipost plugin uses SMTP integration to send outgoing emails from your WordPress installation. It replaces the wp_mail function included with WordPress.
First, you need to have PHP-curl extension enabled.
To have the Pepipost plugin running after you have activated it, go to the plugin’s settings page and set the Pepipost credentials, and how your email will be sent – either through SMTP or API.
How to use wp_mail()
function:
We amended wp_mail()
function so all email sends from WordPress should go through Pepipost.
You can send emails using the following function: wp_mail($to, $subject, $message, $headers = '', $attachments = array())
Where:
$to
– Array or comma-separated list of email addresses to send message.$subject
– Email subject$message
– Message contents$headers
– Array or “n” separated list of additional headers. Optional.$attachments
– Array or “n”/”,” separated list of files to attach. Optional.
The wp_mail function is sending text emails as default. If you want to send an email with HTML content you have to set the content type to ‘text/html’ running add_filter('wp_mail_content_type', 'set_html_content_type');
function before to wp_mail()
one.
After wp_mail function you need to run the remove_filter('wp_mail_content_type', 'set_html_content_type');
to remove the ‘text/html’ filter to avoid conflicts –http://core.trac.wordpress.org/ticket/23578
Example about how to send an HTML email using different headers:
$subject = 'test plugin';
$message = 'testing WordPress plugin';
$to = 'address1@pepipost.com, Address2 <address2@pepipost.com@>, address3@pepipost.com';
or
$to = array('address1@pepipost.com', 'Address2 <address2@pepipost.com>', 'address3@pepipost.com');
$headers = array();
$headers[] = 'From: Me Myself <me@example.net>';
$headers[] = 'Cc: address4@pepipost.com';
$headers[] = 'Bcc: address5@pepipost.com';
$attachments = array('/tmp/img1.jpg', '/tmp/img2.jpg');
add_filter('wp_mail_content_type', 'set_html_content_type');
$mail = wp_mail($to, $subject, $message, $headers, $attachments);
remove_filter('wp_mail_content_type', 'set_html_content_type');
Screenshots
No screenshots provided