You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All confirmation-emails go into the same thread in gmail: Please add a way to use fromName (or fromEmail) in email subject to keep emails seperated
#198
Open
bencresty opened this issue
Sep 1, 2020
· 2 comments
Right now all notification-emails get the exact same subject. This is a problem when using gmail as all emails with the same subject gets stacked unto a continues thread. Which is not what we want, as emails come from different customers and we want to have these in different customer folders and also get to see them as seperate mail-threads in gmail.
This issue wouldn't be there if we could add something like {fromName} (and/or {fromEmail} because fromName is not always required) in the Subject Text field in the plugin settings.
The text was updated successfully, but these errors were encountered:
bencresty
changed the title
Please add a way to use fromName (or fromEmail) in email subject
All confirmation-emails go into the same thread in gmail: Please add a way to use fromName (or fromEmail) in email subject to keep emails seperated
Sep 1, 2020
Old issue, but fwiw: we solved this with a hidden input and some javascript (we're using AJAX for the submission, but you could also do this onchange for the name input):
In the form: <input type="hidden" name="subject" value="Contact Submission" data-original-value="Contact Submission">
And the js:
$form.on('submit', (e) => {
e.preventDefault();
let $subject = $form.find('input[name=subject]');
let fromName = $form.find('input[name=fromName]').val();
// Set dynamic subject line to avoid gmail making a conversation thread and hiding text
$subject.val($subject.data('original-value') + ' from ' + fromName);
...
Description
Right now all notification-emails get the exact same subject. This is a problem when using gmail as all emails with the same subject gets stacked unto a continues thread. Which is not what we want, as emails come from different customers and we want to have these in different customer folders and also get to see them as seperate mail-threads in gmail.
This issue wouldn't be there if we could add something like
{fromName}
(and/or{fromEmail}
because fromName is not always required) in the Subject Text field in the plugin settings.The text was updated successfully, but these errors were encountered: