mautic: configuration

Posted Leave a commentPosted in Mautic

https://johnlinhart.com/blog/uh-oh-mautic-upgrade-was-not-successful   Add Mailto to the List-Unsubscribe Header: Go to ->¬†/app/bundles/EmailBundle/Helper/MailHelper.php: Aproximately on line 1484 /** * Generate and insert List-Unsubscribe header. */ private function addUnsubscribeHeader() { if (isset($this->idHash)) { $unsubscribeLink = $this->factory->getRouter()->generate('mautic_email_unsubscribe', ['idHash' => $this->idHash], true); $this->headers['List-Unsubscribe'] = "<unsubscribe@[DOMAIN]>,<$unsubscribeLink>"; […]

mysql: backup databases

Posted Leave a commentPosted in MySQL

Backups all databases mysqldump -u [user] -p[password] --all-databases > [filename].sql   specific databases mysqldump -u [user] -p[password] [database_name] > [filename].sql   specific database but omitting specific tables mysqldump -u [user] -p[password] [database_name] --ignore-table=db1.tbl1 --ignore-table=db2.tbl1 > [filename].sql   restore mysql -u […]