Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reply functionality #2

Open
binarykitchen opened this issue Mar 17, 2018 · 2 comments
Open

Reply functionality #2

binarykitchen opened this issue Mar 17, 2018 · 2 comments
Milestone

Comments

@binarykitchen
Copy link
Owner

To allow contact admins to reply back via Videomail, we have to add a reply link in the emails.

To make this happen, we have to post the FROM / TO email addresses to the Videomail Server as well so that any further communication is possible from there.

@binarykitchen binarykitchen added this to the future milestone Mar 17, 2018
@binarykitchen
Copy link
Owner Author

This will be tricky because we will then require cross-referencing of other inputs within Ninja Forms. For example when editing the videomail field, add new option to define in which other field the from email address is coming from.

Something like {field:email_2} or better have the FROM ADRESS set to One email address or field like we have for the Email User Action

@binarykitchen
Copy link
Owner Author

binarykitchen commented Mar 17, 2018

From Kyle:

We could use the Backbone.Radio system to request field values during submission to the Videomail server.

var field = Backbone.Radio.channel( 'form-' + formID ).request( 'get:fieldByKey', key );
var field_value =  field.get( 'value' );

My code example assumes that you have a field key.

We could add a new field setting with an email merge tag: https://github.com/kjohnson/ninja-forms-videomail/blob/master/includes/Config/VideomailFieldSettings.php

Although, I would think that if they have access to submission management and email notifications with Ninja Forms, wouldn't it make sense to just handle email there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant