=== NewsMAN SMTP === Contributors: newsmanapp Tags: newsman,smtp,email Requires at least: 5.7 Tested up to: 7.0 Requires PHP: 7.4 Stable tag: 1.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html The NewsMAN SMTP plugin allows you to send transactional emails using NewsMAN\'s powerful email delivery infrastructure. == Description == With support for OAuth-based authentication and secure SMTP account credentials, this plugin offers a reliable and flexible solution for sending emails directly from your website. Guarantee the prompt and reliable delivery of critical messages, such as order confirmations or shipping notifications, through SMTP. This ensures users consistently receive important communications without delay. == External services == This plugin sends transactional email through NewsMAN. Once configured, WordPress **wp_mail** is handled exclusively by NewsMAN (PHPMailer is skipped). OAuth mode uses NewsMAN REST API v2 at `https://api.newsman.app` with Bearer authentication (`user_id-api_key`) for `transactional/messageSend` and `list/getProps`. See [API v2 authentication](https://api.newsman.app/docs/en#description/authentication) and [transactional docs](https://api.newsman.app/docs/en#tag/transactional). OAuth authorize/token exchange uses `https://www.newsman.app/admin/oauth/`. SMTP mode uses NewsMAN SMTP API 1.0 at `https://cluster.newsmanapp.com/api/1.0/message.send` with Account ID and API Key in the request body. See [SMTP API](https://kb.newsmansmtp.com/api/1.0/). Both modes send From Name, From Email, subject, HTML body, and recipients. This service is provided by NewsMAN: [terms of use](https://www.newsman.com/terms), [privacy policy](https://www.newsman.com/privacy). == Installation == Automatically 1. In your WordPress admin panel, go to *Plugins > New Plugin*, search for **NewsMAN SMTP** and click \"*Install now*\" Manually 2. Download the plugin and upload the contents of newsman-smtp.zip to your plugins directory, which usually is /wp-content/plugins/. - Activate the plugin - NewsMAN SMTP - Then you can login with NewsMAN via OAuth and set your SMTP account. == Frequently Asked Questions == = How do I set up a NewsMAN SMTP account? = To use the plugin you will need to create a NewsMAN SMTP Account. [Set up a SMTP account](https://kb.newsman.com/how-do-i-set-up-an-smtp-account/) == Screenshots == 1. OAuth with selected NewsMAN List 2. SMTP Account ID & Key 3. NewsMAN SMTP Account Settings == Changelog == = 1.1 = * Send exclusively via NewsMAN using pre_wp_mail (avoids double delivery with PHPMailer) * Stop clearing other plugins' wp_mail filters * Harden admin actions and OAuth callback (capability checks, connect nonce, OAuth state) * Reduce noisy success logging; HTML emails only * OAuth mode uses NewsMAN API v2 (Bearer on api.newsman.app); SMTP mode stays on cluster API 1.0 * After OAuth, cache each list's from_name/from_email via getProps and prefill From fields (WordPress defaults only if empty) = 1.0.1 = * Fewer logs = 1.0 = * Initial release of the plugin