Comments (3)
@calvinalkan,
Campaign Emails also bind with subscriber_id. I think We should change the email ids for scheduled emails. So all future emails will send to the newly updated email.
Good point!
from fluent-crm.
Well, that's essential..
$dirty = $event->subscriber()->getDirty();
if ( ! array_key_exists('email', $dirty)) {
return;
}
DB::table('fc_campaign_emails')
->where('subscriber_id', (int) $event->subscriber()->id)
->update([
'email_address' => $event->subscriber()->email,
]);
from fluent-crm.
We have handled this issue and chanding the draft and scheduled status campaign email's email_address
field with the updated email address.
Also, a new action hook will be fired fluentcrm_contact_email_changed
from fluent-crm.
Related Issues (20)
- [BUG] A trigger has to have at least one default value for conditions or no conditions will show in the UI. HOT 1
- [BUG] missing 'created_by' column in fluentcrm_update_subscriber_meta HOT 1
- [BUG] When using wp user account sync and updating the email adress in FluentCRM the user_id column will be lost. HOT 2
- [BUG] Clicking "tags" in the dashboard view does not redirect the user to the tags page. HOT 1
- [BUG] Bug in WPOrm causes overwritting of model events. HOT 1
- [BUG] Sending custom emails via the dashboard totally disregards subscriber status and gives false positive success message. HOT 1
- [CRITICAL] Email success is messured fundamentaly wrong by using wp_mail incorrectly HOT 2
- Problem with downloading localization files
- [Enhancement] Extract function that retrieves all public list Ids out of ExternalPages.php HOT 1
- Grammer and spelling
- "+ Add Contact" Status is "Subscribed"
- Some missing countries
- Stop using the development autoloader. HOT 1
- Fetch a new WordPress Nonce if the current one is expired. HOT 1
- unsubscription link not working HOT 1
- Error in API documentation: Get contact by user_id HOT 1
- [Enhancment] Add filter to allow adding of custom icons for funnel categories HOT 1
- [BUG] Unable to create new lists while creating a funnel trigger. HOT 1
- [BUG] User Login trigger will run an indefinate amount of times for the same user regardless of settings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-crm.