The table schema for the archive table in Dada Mail has changed!
Consult:
dada/extras/SQL/dada_archives.sql
for the new schema and update your tables accordingly.
If you're using the Default DB_File backend for archving, you don't have to do anything special;
There is NO version of dada_send.pl for Dada Mail 2.9. For an alternative, try the dada_bridge.pl plugin, which provides almost complete overlap of features.
The Program Usage Log, set under, $PROGRAM_USAGE_LOG, has been set to:
$PROGRAM_USAGE_LOG ||= $LOGS . '/dada_usage.txt';
by default.
If you have outside programs that use this subroutine, you will need to change your program from using this subroutine (example)
use DADA::App::Guts setup_list({list => $list, foo => 'bar', });
to:
use DADA::MailingList::Settings; my $ls = DADA::MailingList::Settings->new(-list => $list); $ls->save({foo => 'bar'});
to the following method - this is an example from
Here's the old style:
my %list_info = open_database(-List => $list);
Here's the new way of doing things:
use DADA::MailingList::Settings my $ls = DADA::MailingList::Settings->new(-List => $list); my $li = $ls->get; my %list_info = %$li;
Old Way:
my $root_login = check_list_security(-Admin_List => $admin_list, -Admin_Password => $admin_password, -IP_Address => $ENV{REMOTE_ADDR}, -Function => 'send_email');
New Way:
my ($admin_list, $root_login) = check_list_security(-cgi_obj => $q, -Function => 'send_email');
Consult the default_css.css file in dada/DADA/Template/templates for ALL style information.
As a guide, here's how the old inline styles relate to the new style classes:
$STYLE{default_submit} -> input.plain
$STYLE{green_submit} -> input.processing
$STYLE{red_submit} -> input.cautionary
$STYLE{yellow_submit} -> input.alertive
There is a new option in the ``Manage Appearance - Edit Template'' admin screen. The option allows you to `` Use the default list template.'' This may be set as your default for lists that are already created. If you have a list that seems to have suddenly lost its customized template, make sure this option is changed to something like, `` Use This Information For The Template: ''.
Like many of the links that are exposed to email messages, redirect links are now in a path info form, instead of in a query string. Redirect links seemed to be partly broken - most likely because of server upgrade/changes, and 2.9 should help in fixing. this.
MIME-Tools, the collection of Perl Modules needed by dada_bounce_handler.pl and dada_bridge.pl are now included with Dada Mail and DO NOT need to be installed separately.
http://search.cpan.org/~gaas/MIME-Base64-3.05/
The Problem is that there doesn't seem to be a Pure Perl version of MIME::Base64 in the same namespace, it's been moved to: MIME::Base64::PurePerl and there's no hooks in MIME::Base64 to use it, instead of the XS version, like there is in something like, Data::Dumper, or Digest::MD5. So, that's weird.
I'm going to contact the author about this.
So, if you find that you need MIME::Base64 and MIME::QuotedPrint, and you can't install Perl modules that need compilation, you can grab the last versions of both modules that had a Pure Perl version to them here:
http://search.cpan.org/src/GAAS/MIME-Base64-2.23/Base64.pm
And Here:
http://search.cpan.org/src/GAAS/MIME-Base64-2.23/QuotedPrint.pm
You'll want to name these files, Base64.pm and QuotedPrint.pm respectively and upload them to your: DADA/perllib/MIME directory.
Note: I haven't done much testing using the 2.23 version of these modules, so YMMV. I tried sending a message with an attachment - attachments are encoded in base64 and it worked just fine;
I'll try to get a better fix for this soon,
-JS
Removed the ``HTML_and_text'' - Plaintext version is created from HTML in the ``Send a List Message'' basic screen. This is done automatically for you.
If you need to do any editing, do so *before* upgrading to this beta. Edit is going to be hard to implement, because a MIME editor is non trivial - like, how exactly do you edit a MIME message created by the ``Send a Webpage'' screen? Answer: You don't. :)
Did this ever work correctly?
If you're upgrading Dada Mail from an older version, and If you haven't made many changes to the default email templates - the text that you can edit in Manage Copy - Email Messages, it's best to reload the email templates.
This is done by navigating to: Manage Copy - Email Messages, select all the text from each of the textboxes and deleting the content. When you're finished, you can click, ``Save all changes''. The messages should respawn themselves.
If you've made many changes to these email messages, consult the Config.pm file to view the default email templates and apply the changes that you like manually.
Here's one issue that you'll want to MAKE SURE to change:
In the email subscription/unsubscription messages, you'll use a tag like this:
[list_subscription_link]
and
[list_unsubscription_link]
In this context:
To confirm this subscription, please follow the below URL: <[list_unsubscribe_link]> (Click the URL above or, copy and paste the URL into your browser)
And:
To confirm this unsubscription, please follow the below URL: <[list_unsubscribe_link]> (Click the URL above or, copy and paste the URL into your browser)
You will NEED to change these links to:
[list_confirm_subscribe_link]
And:
[list_confirm_unsubscribe_link]
Respectively, or your subscription process will not work.
As stated above, if you're comfortable to start with the default email messages, the easiest thing to do is to delete all the content in the Manage Copy -> Email Messages screen and click, ``Save all changes''.
Plugins/Extensions that come with Dada Mail have been updated to work with Dada Mail, 2.9, with the exception of the dada_digest.pl script, which currently doesn't work with 2.9. It will return once it has been properly updated.
Note also the text, while still relevant, hasn't been updated specifically for 2.9 either.
The program name has (obviously) changed. See the separate, ``Upgrading Dada Mail from Mojo Mail 2.8.9 and below'' doc.
The Dada Usage Log format has changed!
All logged lines will have the Remote IP Address of the client provoking the script (if there is one). The format is:
time[tab]remote ip address[tab]list[tab]action[tab]details
The $DEFAULT_LIST variable has been removed from Dada Mail. If you want to send a default template, use the $USER_TEMPLATE variable.
The Config variable, $PLAIN_TEXT_ENCODING has been removed. The same functionality is now done on a list-per-list basis. You can use the %LIST_SETUP_DEFAULTS key, plaintext_encoding to do the same thing, as well as use html_encoding for HTML messages. These can be tweaked in the Sending Options - Advanced control panel screen.
mojo_send.pl has been put back into the distro, for better or worse.
I've included CGI.pm, version 2.91 into the distro, since different versions of CGI.pm seem to all have their own unique ways of breaking things, and I'd like to know exactly which funky errors to expect.
The mojo_send.pl script has been taken out of the distribution because of manjor bugs and security problems. as such, group lists will not be supported in this version.
It's still uncertain whether group mailing lists will be supported in the future.
CipherSaber encryption has been put onto both POP3 passwords stored in Dada Mail's List settings files and for cookie information. You may recieve an error about dividing by zero in the Cipher key. If this happens, go to:
http://changetoyoursite.com/cgi-bin/mojo/mojo.cgi?reset_cipher_keys
and follow the directions. You also will have to reset your pop3 password manually.
The Mojofied FormMail has slightly different instructions, best to read the documentation!
The MySQL and PostgreSQL implementations have been changed! Please take note as previous SQL tables will NOT work until you alter them.
The outside config file scheme has been changed!
Please refer to the Config.pm docs to see how to use the outside configuration file