=== SiteVero Outreach ===
Contributors: siteverostudio
Tags: email, follow-up, leads, crm, smtp
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Personalized outreach, conversations and safe follow-ups from your WordPress site.

== Description ==

SiteVero Outreach helps a small team write personal emails to clients, prospects and partners, follow up at the right time and see the replies, without leaving WordPress. It is built for one-to-one and small-batch communication with people you have a reason to contact. It is not a newsletter or bulk-marketing tool: sending limits, a suppression list and an unsubscribe link on every email are always on.

All data stays in your site's database. The plugin does not contact SiteVero or any other third-party service.

* **Contacts and companies.** Add people one by one or import a CSV file, with tags, notes, consent details and owner-based visibility.
* **Personal outreach.** Compose to one contact or many with templates and merge tags, preview each email, send now with undo or schedule it, and see every email in History.
* **Safe follow-ups.** Sequences send a series of emails with waits in between and stop by themselves when the contact replies, unsubscribes or bounces. When replies cannot be checked, follow-ups wait for approval instead of being sent blindly. A follow-up can also be stopped by hand with "They replied".
* **Replies and conversations.** Connect the mailbox that receives replies (IMAP, read-only) to see each conversation next to the emails you sent and to record bounces.
* **Sending controls.** A footer with your business details and a one-click unsubscribe link on every email, a suppression list, daily limits, spacing between emails and sending windows.
* **Dashboard and setup guide.** A short guide for a new site, a checklist of what is still missing, and a Dashboard with results, recent activity and what needs attention.
* **Optional open and click tracking**, off unless you turn it on. Opens are approximate and are labelled that way.
* **Roles & Access.** Granular capabilities with ready-made profiles (for example Sender or Viewer), so team members see only their own contacts unless you allow more.
* **Upgrading from SiteVero Outreach Sender 1.x.** When data from the earlier plugin is found, Settings offers a one-time import of its sent and failed emails, recipients and suppression list. The old data is only read, nothing is sent, and stored passwords are never copied.

Built for reliability and privacy:

* **Background processing that works on any host.** A persistent job queue with retries, run from WP-Cron, from a server cron job via WP-CLI, or from a token-protected runner endpoint. Work whose outcome is uncertain is never repeated blindly.
* **System status and Site Health.** Health checks for the database, background processing, WP-Cron, loopback requests, credential encryption and your mail setup, plus a redacted log viewer and a copyable system report.
* **Security by default.** Encrypted stored credentials, redacted logs (no passwords, tokens or message contents) and an audit log of security-relevant changes.
* **Privacy tooling.** WordPress personal-data export and erasure, suggested privacy-policy text, and configurable retention for every kind of data.
* **Developer-ready.** A versioned REST API, WP-CLI commands (`wp svoutreach`) and documented extension points.

= Guides =

* [Minimum setup](https://siteverostudio.com/sitevero-outreach/docs/quick-start/): send your first email in about 5 minutes. Enough for a small site sending a few emails a day.
* [Full guide](https://siteverostudio.com/sitevero-outreach/docs/): every screen, from contacts and sequences to reply detection, tracking and roles.
* [Troubleshooting](https://siteverostudio.com/sitevero-outreach/docs/troubleshooting/): what to check when an email waits, is skipped or does not arrive.
* [Support forum](https://wordpress.org/support/plugin/sitevero-outreach/)

= Sending email =

Choose one of two ways on **Outreach → Connections**:

* **WordPress mail** sends through `wp_mail()`, so an SMTP plugin already configured on your site keeps handling delivery. It was tested with WP Mail SMTP, FluentSMTP and Post SMTP using their SMTP mailers. With Post SMTP the plain-text part and SiteVero's Message-ID are not kept, so replies are matched less reliably; the plugin tells you so after each send.
* **Direct SMTP** connects to an SMTP account you enter, used only for SiteVero Outreach.

The plugin does not send attachments and does not include an email delivery service.

== Installation ==

1. Install and activate the plugin through the Plugins screen.
2. Follow the setup guide that opens (or choose "I'll configure it myself"): business details, how email is sent, a test email, the reply mailbox, the footer and sending limits. It can be reopened from Outreach → Settings.
3. Add a contact and send your first email from **Outreach → Compose**.
4. On low-traffic sites, set up a server cron job for exact timing (**Outreach → System status** shows the command).

= Running the queue from server cron =

WP-CLI (recommended):

`* * * * * wp --path=/path/to/site svoutreach queue run --quiet`

Or generate a runner token on the System status screen and call the runner endpoint with the `X-SVOutreach-Runner-Token` header.

== Frequently Asked Questions ==

= Does the plugin send data to SiteVero? =

No. Everything is stored in your WordPress database. See "External services" below for every connection the plugin makes.

= Can I use it for newsletters or bulk email? =

No. SiteVero Outreach is for personal, individually addressed emails and follow-ups to people you have a relationship with or a reason to contact. Daily limits and spacing keep sending at a personal pace, and every email carries your business details and an unsubscribe link. For newsletters, use a dedicated newsletter service.

= Who can use the plugin? =

Administrators receive all SiteVero Outreach capabilities on activation. Other roles get no access until you grant it on **Outreach → Roles & Access**, which offers ready-made profiles and per-user permissions.

= How do replies stop a follow-up? =

When a reply mailbox is connected, the plugin checks it in the background and stops the contact's sequence as soon as a reply arrives. Without a reply mailbox, follow-ups wait for your approval, and you can mark a contact as replied by hand.

= I used SiteVero Outreach Sender 1.x. What happens to my data? =

Nothing changes until you choose to import. Deactivate the 1.x plugin, then open **Outreach → Settings** and review the import preview. Sent and failed emails become history, recipients become contacts, the suppression list is copied and emails that were still queued are recorded as cancelled, never sent. Existing contacts and settings are not overwritten, SMTP passwords are not copied, and the 1.x data is left untouched. Running the import again adds nothing twice.

= What happens when I deactivate or delete the plugin? =

Deactivating stops background processing and keeps all data. Deleting the plugin also keeps your data by default, so reinstalling restores everything. To remove all plugin tables, options, capabilities and import/export files on deletion, define `SVOUTREACH_UNINSTALL_DELETE_DATA` as `true` in `wp-config.php` before deleting the plugin.

= How are stored credentials protected? =

Credentials are encrypted with libsodium using a key derived from your `wp-config.php` salts, or from `SVOUTREACH_ENCRYPTION_KEY` if you define one. If the key changes, stored credentials are reported as needing to be re-entered instead of failing silently.

= Does it make my emails legally compliant? =

It gives you controls (business details in the footer, unsubscribe links, a suppression list, consent fields and retention settings), but whether your emails meet the rules that apply to you depends on who you write to and why. The plugin does not give legal advice.

= Where is the source code of the admin screens? =

The readable source is included in `assets/src`, with `package.json` and the build configuration. Run `npm install` and `npm run build` to rebuild `assets/build`.

== External services ==

SiteVero Outreach connects only to servers you configure yourself, and to your own site:

* **Your SMTP server** (Direct SMTP connections only): the emails you send, with the sender, recipient, subject and content, are delivered through the host, port and account you enter. With WordPress mail, delivery is handled by WordPress or your SMTP plugin instead.
* **Your IMAP mailbox** (only when you connect a reply mailbox): the plugin signs in to the host you enter and reads new mail in that mailbox to detect replies and bounces. It opens the mailbox read-only and does not send, move, delete or mark mail as read.
* **Your own site**: background processing is started with a request to your own site (a loopback request), and the unsubscribe page and optional tracking links are served by your own site.

No data is sent to SiteVero or any other third party, and no external scripts, fonts or images are loaded.

== Privacy ==

SiteVero Outreach stores the contacts you add, the emails you send and, when a reply mailbox is connected, the replies it reads, together with its settings, operational logs and an audit log of security-relevant changes, all in your site's database. Email addresses in logs are masked; passwords, tokens and message contents are never logged. How long each kind of data is kept is set on **Outreach → Privacy & Data**. The plugin registers with WordPress's personal-data export and erasure tools and adds suggested text to the privacy policy guide.

Open and click tracking is off unless you turn it on; when on, it records approximate opens and clicks of your emails without IP addresses or browser details. The plugin does not use cookies and does not track your site's visitors.

== Changelog ==

= 2.0.0 =
A complete rewrite of SiteVero Outreach Sender 1.x.

* Contacts and companies with CSV import and export, tags, notes, consent details and owner-based visibility.
* Compose with templates, merge tags, previews, undo and scheduling; History of every email with delivery details.
* Sending through WordPress mail or Direct SMTP, with a test email, daily limits, spacing and sending windows.
* Reply mailbox (IMAP), conversations and bounce detection.
* Sequences with safe follow-ups that stop on reply, unsubscribe or bounce, approvals when replies cannot be checked, and a manual "They replied".
* Footer with business details, one-click unsubscribe and a suppression list on every email.
* Optional open and click tracking, off by default.
* Setup guide, Dashboard, Privacy & Data, Roles & Access, audit log and System status.
* One-time, read-only import from SiteVero Outreach Sender 1.x.
* Background queue that works with WP-Cron, WP-CLI or an external scheduler.

== Upgrade Notice ==

= 2.0.0 =
New plugin with its own data. Data from SiteVero Outreach Sender 1.x is never changed; you can import it from Outreach → Settings after deactivating 1.x.
