Hello , every one
When i send the campaign email to some kind of email address, Email will be read immediately , the same thing happy to Click-Throu Link and Opt-out too.
so i think Such data is not valid, any think we can avoid this ?
rsp
27 February 2024 21:06
2
Check if you get any info here!
Campaigns
pgr
28 February 2024 09:48
3
I think itās the same problem as this:
I checked that, itās pretty generic windows NT. I was hoping there was something in there that IDād it as Microsofts link crawler, but nothing is poping out as unique.
About the fix:
I uploaded my Fix. Microsoft, Gmail, and Yahoo mail services should no longer be instantly auto unsubscribing your Email Campaignās and Newsletterās Targets, Leads, and Contacts!
Hereās how to get the Fix, apply it on your Suite 7.14.2 test server, and test it works:
Run these commands, this will download and apply the fix to your test server:
sudo apt -qqq update && sudo apt -y install wget git #On Debian/Ubuntu based Linux.
su suiteusername #the username account the suite app is runningā¦
The fix:
salesagility:hotfix
ā chris001:RFC8058-one-click-unsubscribe
opened 05:44AM - 25 Jan 24 UTC
ā¦s recently become unreliable. And others.
<!--- Please be aware that as ofā¦ the 31st January 2022 we no longer support 7.10.x.
New PRs to hotfix-7.10.x will be invalid. If your fix is still applicable to 7.12.x,
please create the pull request to the hotfix branch accordingly. -->
With this I implement [RFC8085, "Signaling One-Click Functionality for List Email Headers"](https://datatracker.ietf.org/doc/html/rfc8058) to restore the accurate working of the SuiteCRM opt-out feature for Newsletters and Email Campaigns, by preventing email services from automatically opting-out subscribers by crawling links in the email message, which before this Fix, used to load the opt-out link, and perform the opt-out.
All major email services (Microsoft, Gmail, Yahoo, etc) are crawling the links in email messages, to protect users from malware, and that crawling has been triggering the unsubscribe ("opt-out") feature, the "Remove Me" link in the footer of every Campaign and Newsletter bulk email message.
The new way, required in 2024 for all mail sent to Microsoft, Gmail, and Yahoo (and many, many more cloud hosted email services), is for senders to add new headers in the email, telling the email client app exactly which URL to request, with a special `POST` action that crawlers don't use, to enable the user to do a one-click unsubscribe ("opt-out"), from inside their email app, for this subscriber, for this particular email Campaign or Newsletter. So the subscriber no longer has to leave their email client app, and visit the Remove Me web page on the CRM.
## Description
1. Improve reliability in detecting the web app's URL, in case the admin has left 'site_url' blank. This is required for constructing the opt-out URL.
2. Fix some missing global statements for `$log` and `$mod_strings`.
3. Accurantly construct the headers required for RFC8085 one-click unsubscribe.
## Motivation and Context
The top Email services have been crawling all the links in the Campaign and Newsletter emails for a long time. One load of the opt-out (unsubscribe) link was actually unsubscribing every single lead or target who received the email, before they could even open it and read it!
## How To Test This
Without this Fix, try sending a Campaign or Newsletter to only gmail, yahoo, or microsoft hosted email address. All of your emails will unsubsribe immediately. That's the automated link scanners loading the opt-out link to check for malware!
Apply this Fix. Send a Campaign or Newsletter to only Gmail, Yahoo, and Microsoft hosted emil. The headers for RFC8085 should be present, and none of the recipients will unsubscribe until they have a chance to open up the email message and look at it. In the email app, the subscriber will see a new "Unsubscribe" button, located near the headers. Clicking on this new "Unsubscribe" button should perform the opt-out from the SuiteCRM Newsletter or Email Campaign, from inside the email app.
## Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
### Final checklist
- [x] My code follows the code style of this project found [here](https://docs.suitecrm.com/community/contributing-code/coding-standards/).
- [x] My change requires a change to the documentation.
- [x] I have read the [**How to Contribute**](https://docs.suitecrm.com/community/contributing-code/) guidelines.
Please test the above fix, and let us know if this solves your issue.
1 Like