A new breath of life to wp_mail.
Table of Contents
- Table of Contents
- About The Project
- Getting Started
- Copyright and license
About The Project
Postino was built to make sending emails via WP the easiest it can get. It provides a setting page where you can set the SMTP parameters, but, in case of batch installations, you can even put a configuration file in your theme.
How it works
The plugin simply uses the WordPress hook
phpmailer_ini to set the SMTP configuration.
The versions previous to 1.0.5 used to override the
wp_mailwhich both lead to the introduction of bugs - such as the email not being formatted correctly - and was an overkill for just setting the SMTP configuration.
You can just clone this repository inside your
wp-content/plugins folder, or download the installable zip and install it via the WordPress dashboard.
Since the release 1.0.1, you can update Postino directly from the WordPress' dashboard, like any other plugin.
To use Postino, just install it and set up your SMTP server in the settings page.
You can also alternatively add these settings into
define('POSTINO_CAFF_SMTP_SECURE', 'ssl'); define('POSTINO_CAFF_SMTP_PORT', 465); define('POSTINO_CAFF_SMTP_SERVER', 'smtp.gmail.com'); define('POSTINO_CAFF_SMTP_USER', 'firstname.lastname@example.org'); define('POSTINO_CAFF_SMTP_PASSWORD', 'realpassword!'); define('POSTINO_CAFF_MAIL_SENDER', 'email@example.com'); define('POSTINO_CAFF_MAIL_SENDER_NAME', 'Caffeina labs');
Everything is now set up. You don't need to worry about anything else.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature)
- Commit your Changes (
git commit -m 'Add some AmazingFeature')
- Push to the Branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
Copyright and license
Project Link: https://github.com/caffeinalab/postino