Katrangan
Mailster Gmail Integration adds Gmail as a delivery method for the Mailster Newsletter Plugin for WordPress. Campaigns are sent through the Gmail API from the Google account you authorize.
Use it when you want Mailster to send from a Gmail address instead of your host’s mail server. You connect a Google Cloud OAuth client, authorize the account once, and Mailster uses that mailbox for delivery.
This plugin requires Mailster 2.4.11 or newer, PHP 8.1 or newer, and a Google account. You create an OAuth Client ID in Google Cloud (this is not an API key). Newsletter content is sent to Google through the Gmail API. The plugin requests the
https://mail.google.com/scope so it can send mail and read bounce messages in that mailbox. Gmail applies its own sending limits; Mailster’s guide notes that Gmail is a weak fit for large marketing lists.
Send Mailster campaigns with Gmail
- Gmail delivery method — Choose Gmail under Newsletter Settings Delivery.
- Google OAuth — Enter the OAuth Client ID and Client Secret, then authorize the Google account. The settings screen shows the redirect URI to paste into the Google Cloud client.
- Sending address — After authorization, saving settings copies the connected Gmail address into Mailster’s From, Reply-To, and Bounce fields.
- Gmail API sending — Mailster messages are sent with
users.messages.sendfor the authorized user. Mailster’s own DKIM signing is turned off for these sends because Gmail handles authentication. - Bounce handling — The addon checks that Gmail mailbox for delivery failures and “please remove me” replies, then unsubscribes or bounces the matching Mailster subscriber and removes those messages.
- Redirect URL filter — Developers can change the OAuth redirect with the
mailster_gmail_redirect_urlfilter.
How it works
- Install and activate Mailster Gmail Integration next to Mailster 2.4.11+.
- In Google Cloud, enable the Gmail API and create an OAuth client (Web application). Add the redirect URI shown in Mailster’s Gmail settings.
- Open Newsletter Settings Delivery, select Gmail, paste the Client ID and Client Secret, and save.
- Click Authorize, allow access in Google, and return to Mailster.
- Send a test email, then send Mailster campaigns through Gmail.
Setup walkthrough: Send your newsletters via Gmail.
Pemasangan
- Upload the entire
mailster-gmailfolder to the/wp-content/plugins/directory, or install it from the WordPress plugins screen. - Activate the plugin through the Plugins menu in WordPress.
- Make sure Mailster 2.4.11 or newer is installed and active.
- In Google Cloud, enable the Gmail API, configure the OAuth consent screen, and create a Web application OAuth client. Add the Authorized redirect URI from Mailster’s Gmail settings.
- Go to Newsletter Settings Delivery, open the Gmail tab, enter the Client ID and Client Secret, and save.
- Click Authorize, grant access to the Google account, and send a test email.
FAQ
-
Does this plugin work without Mailster?
-
No. This is a delivery addon for the Mailster Newsletter Plugin. It requires Mailster 2.4.11 or newer.
-
Do I paste a Gmail API key?
-
No. Gmail delivery uses a Google OAuth Client ID and Client Secret from a Google Cloud project, then an Authorize step so Mailster can send as that account. The setup guide walks through the OAuth client and redirect URI: Send your newsletters via Gmail.
-
The Gmail address you authorize. When you save delivery settings while connected, Mailster’s From, Reply-To, and Bounce addresses are set to that account’s email address.
-
Is email sent to Google?
-
Yes. With Gmail selected as the delivery method, Mailster sends the message through the Gmail API. The OAuth consent screen requests
https://mail.google.com/so the addon can send mail and look in that mailbox for bounces. -
Does it handle bounces?
-
Yes, for mail sent with this addon. It searches the connected Gmail inbox and spam for mail-delivery failures and list-unsubscribe replies, matches Mailster’s campaign headers, updates the subscriber, and deletes those messages from the mailbox.
-
What if Google asks me to reconnect?
-
If Gmail rejects the saved token, the addon clears the connection and shows a notice. Open Newsletter Settings Delivery, check the Gmail tab, and authorize again.
-
Can I change the OAuth redirect URL?
-
The settings screen shows the redirect URI to register in Google Cloud. Developers can replace it with the
mailster_gmail_redirect_urlfilter. The value in Google Cloud must match the URL Mailster uses.
Mācā ulang
Contributors & Developers
“Mailster Gmail Integration” is open source software. The following people have contributed to this plugin.
KontributorTranslate “Mailster Gmail Integration” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Caathetan Owahan
2.0.0
- changed: requires PHP 8.1 or newer
1.3.1
- fixed: composer packages with PHP 8.0+
1.3.0
- fixed: issue with third party library on PHP 8.0+
- added:
mailster_gmail_redirect_urlfilter for redirect URL - requires now PHP 7.4+
1.2
- Fixed some typo and updated method
1.1
- Update for Mailster 3.0
1.0
- initial release

