One very nice DadaMail feature is the ability to change your email
address in all subscriptions at once using the /dada/extensions/ update_subscription cgi However when you do, all the other added
subscription fields are blanked out I don't recall if it was doing
that before this latest update
It was:
http://dadamailproject com/support/documentation-dada-3_0_0/dada2_to_dada3 pod html#extension__update_subscription_cgi
I don't really like this extension, since there's no check that the
person doing the update is the actual person who owns the email
address
A better thing would be, instead of updating this extension,
is just to go forward all away with the, "Allow list subscribers to
update their own information", feature in Dada Mail, which would
include email subscriptions
It doesn't even need all the session
management I write about in that feature, just another confirmation
process, almost exactly like the subscription confirmation, exactly
it'll update the subscription
If you do want to fix this bug and are comfortable with the idea that
there isn't any, "Are you really the subscriber?" check, find these
two lines in the, update_subscription
cgi extension:
$lh->remove_from_list(-List => $_, -Email_List => [$old_email]);
$lh->add_to_email_list(-List => $_, -Email_Ref => [$new_email]);
And replace them with:
my $sub_info = $lh->get_subscriber(
{
-email => $old_email,
-type => 'list',
}
);
$lh->remove_subscriber(
{
-email => $old_email,
-type => 'list',
}
);
$lh->add_subscriber(
{
-email => $new_email,
-type => 'list',
-fields => $sub_info,
}
);
and the subscriber fields information will be retained
Start a new thread, email: dadadev@dadamailproject.com
This is the developer discussion mailing list for Dada Mail.
If you are just looking for support Dada Mail, consult the message boards at:
https://forum.dadamailproject.com
Documentation for Dada Mail:
Specifically, see the Error FAQ:
https://dadamailproject.com/d/FAQ-errors.pod.html
To post to this list, send a message to:
mailto:dadadev@dadamailproject.com
All subscribers of this list may post to the list itself.
Topics that are welcome:
Dada Mail is on Github:
https://github.com/justingit/dada-mail/
If you would like to fork, branch, send over PRs, open up issues, etc.
This Privacy Policy is for this mailing list, and this mailing list only.
Email addresses collection through this mailing list are used explicitly to work within this email discussion list.
We only collect email addresses through our Closed-Loop Opt-In system.
We don't use your email address for any other purpose.
We won't be sharing your email address with any other entity.
Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.
All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.
All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.