Plugin / Pepipost
Description
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 API 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 –https://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 = '[email protected], Address2 <[email protected]@>, [email protected]';
or
$to = array('[email protected]', 'Address2 <[email protected]>', '[email protected]');
$headers = array();
$headers[] = 'From: Me Myself <[email protected]>';
$headers[] = 'Cc: [email protected]';
$headers[] = 'Bcc: [email protected]';
$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');
Ratings
Rating breakdown
Details Information
Version
First Released
Total Downloads
Wordpress Version
Tested up to:
Require PHP Version:
Tags
Contributors
Languages
The plugin hasn't been transalated in any language other than English.
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.