What if the transit mode is set to API, and the plugin automatically adds an X-Tag-WebsiteName
header populated with a value retrieved from the WordPress options?
That would work in my case, but it’s not very flexible.
Please use the value from the option “siteurl” and use parse_url() to get the host name.
This would be the fastest and flexible way to get the website’s (sub)domain name.
We should be able to add multiple tags. One for domain, one for website name.
Or just a regular input field where you can enter multiple tags, separated by commas?
Like on this page
That could complicate things. I want to keep the plugin simple and straightforward, staying true to its name. Adding a tags section might create unnecessary friction for beginners.
However, we can still populate the tags behind the scene.
I understand your concerns, while I don’t think that beginners will use them.
Maybe you can add 2 checkboxes? One for the domain and one for the site name?
I don’t like that website owners decide how the tags looks like in the Maileroo dashboard.
EDIT: The beginner doesn’t use SMTP plugins for WordPress websites, they just use the default mail function and complain about bad deliverability 😀