mautic: configuration

Posted Leave a commentPosted in Mautic   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>"; […]

mautic: clear bounces not working correctly

Posted Leave a commentPosted in Mautic

Some emails are parsed, while others are not. It depends on the format of the email. Here are some highlights: Files of interest: /app/bundles/EmailBundle/MonitoredEmail/Processor/Bounce/DsnParser.php /app/bundles/EmailBundle/MonitoredEmail/Mailbox.php: /app/bundles/EmailBundle/MonitoredEmail/Processor/Bounce.php The process as I understand it is the following: Step 1.  On Mailbox.php you […]

mautic: console commands

Posted Leave a commentPosted in Mautic

To execute... php /var/www/html/---PATHTOSERVER---/mail/app/console mautic:campaigns:rebuild mautic:campaigns:trigger - mautic:campaign:trigger - mautic:trigger:campaigns - mautic:trigger:campaign 2) mautic:campaigns:rebuild - mautic:update:campaigns - mautic:rebuild:campaigns - mautic:campaigns:update 3) mautic:iplookup:download - mautic:fetch:ipdata - mautic:ipdata:fetch - mautic:ipdata:update - mautic:update:ipdata 4) mautic:emails:send - mautic:send:emails - mautic:process:email - mautic:process:emails - mautic:email:process […]

mautic: bounces retrieval not working

Posted Leave a commentPosted in Mautic

Error: [Symfony\Component\Debug\Exception\ClassNotFoundException] Attempted to load class "Type" from namespace "Mautic\EmailBundle\MonitoredEmail\Processor\Bounce". Did you forget a "use" statement for e.g. "JMS\Serializer\Annotation\Type", "Doctrine\DBAL\Types\Type", "Aws\DynamoDb\Enum\Type", "Symfony\Component\Validator\Constraints\Type" or "Mautic\Emai lBundle\MonitoredEmail\Processor\Bounce\Definition\Type"?   Best way to solve this is by adding the verbose option to the fetch […]