MC4WP
Allowing your visitors to subscribe to your newsletter should be easy. With this plugin, it finally is. This plugins helps you grow your email list in Mailchimp. You can use it to create good looking and accessible sign-up forms or integrate with any other existing form on your WordPress site, like your contact, comment or checkout form. Some (but not all) features Connect with your Mailchimp account in seconds. Sign-up forms which are good looking, user-friendly and mobile optimized. You have complete control over the form fields and can build your forms using native HTML. Seamless integration with the following plugins: WordPress Comment Form WordPress Registration Form Contact Form 7 WooCommerce Gravity Forms Ninja Forms 3 WPForms BuddyPress MemberPress Events Manager Easy Digital Downloads Give UltimateMember HTML Forms AffiliateWP Is the plugin you want to integrate with not listed above? You can probably still use our custom integration feature. Alternatively, the plugin comes with a PHP API to programmatically add a new subscriber to Mailchimp. Mailchimp for WordPress Premium: Send your WooCommerce orders to Mailchimp so you can see exactly what each subscriber purchased and how much revenue your email campaigns are generating. A multitude of available add-on plugins and integrations: Mailchimp for WordPress Premium Mailchimp Top Bar Boxzilla Pop-ups Well documented through our knowledge base. Developer friendly. For some inspiration, check out our repository of example code snippets. Ready for PHP 8.5, but backwards-compatible all the way down to PHP 7.4. What is Mailchimp? Mailchimp is a newsletter service that allows you to send out email campaigns to a list of email subscribers. It is free for lists with up to 500 email subscribers, which is why it is the newsletter-service of choice for thousands of small businesses across the globe. If you are not yet using Mailchimp, creating an account is 100% free and only takes you about 30 seconds. Support If you need some help in setting up the plugin, you have various options: Search through our knowledge base. Open a topic in the WordPress.org plugin support forums If you’re a premium user, send an email to the email address listed inside the plugin. Translations You can help translate this plugin into your language using your WordPress.org account. Development This plugin is being developed on GitHub. If you want to collaborate, please look at ibericode/mailchimp-for-wordpress. Customizing the plugin The plugin provides various filter and action hooks that allow you to modify or extend the default behavior. We’re also maintaining a collection of sample code snippets.
SMTP URI and logging
Using SMTP protocol to transfer emails ensures solid operations. It is very easy to set up SMTP. You can find the settings for this plugin at the bottom of WordPress admin menu Options / General. You should get your SMTP settings from your ISP, hosting provider, webmaster, email provider etc. Using every option SMTP URI formally looks like this: smtpTLS://USERNAME:PASSWORD@HOST:PORT Thus encryption type and :// and user name and : and password and @ and mail server name and : and port number. All except encryption type and mail server (host name) are optional. SMTP encryption types are as follows: For encrypted connection (STARTTLS on submission port) start your SMTP URI with smtpTLS:// – the default port is 587. For fully SSL encrypted connection (SMTPS) start it with smtps:// – the default port is 465. For unencrypted connection (plain SMTP) start it with smtp:// – the default port is 25. This is not recommended for non-local servers. WARNING! Use URL-encoded strings. You can find the settings for this plugin at the bottom of WordPress admin Options / General. You may define your SMTP URI also in wp-config.php: define( 'SMTP_URI', 'smtpTLS://USERNAME:PASSWORD@HOST:PORT' ); To set From: name and From: address use WP Mail From II plugin. SMTP error logging SMTP communication errors are logged in PHP error.log and – if Sucuri Scanner plugin is available – are sent to Sucuri and can be viewed in its Alert Logs panel. Adding automatic Bcc: address An automatic Bcc: address can be set by adding path to SMTP URI: /admin_email. SMTP debugging Add query string to SMTP URI: ?debug. Debug level can be set by adding a value: ?debug=4, possible values: 0,1,2,4 TODO Option to skip newsletters: ALO Newsletter, Newsletter, Mailpoet. Video on installing and setting up this plugin. Remove smtp_uri option on uninstallation (I hope you won’t uninstall it) Usage examples Unauthenticated local SMTP server on port 25 smtp://localhost Unauthenticated local SMTP server on submission port smtpTLS://localhost Authenticated connection to localhost on port 25 smtp://john.doe:Secretpwd1@localhost “@” sign in the username, a Gmail example smtps://your.address%40gmail.com:Gmail_password@smtp.gmail.com Sendgrid example smtpTLS://CREDENTIAL-USERNAME:PASSWORD@smtp.sendgrid.net Mandrill example smtpTLS://REGISTERED%40EMAIL:API-KEY@smtp.mandrillapp.com Unauthenticated SMTP server on a custom port smtpTLS://mail.server.net:2525 Development goes on on GitHub.