New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

No HTML for autoresponder

Started by pixelpadre, June 17, 2020, 03:51:12 PM

Previous topic - Next topic

pixelpadre

I have no success with html autoresponder.  Plain text is okay.

bobster

found a work around but not ideal and could be only for my situation.

1. setup the auto responer and don't worry about html. then save
2. edit responder and then untick "Only send during this time period " and and tick "Use HTML in message " then save
3. edit again responder and now you can edit for html
4. save and hope it work

NB: down side here is "Only send during this time period " remains unticked which means you manually have to set it up and remove for your time window.

This is not a fix! just a work around that worked for me.

dsystem

I have the same problem here.

bobster's solution didn't work here. Does not appear to check "Use HTML in message "

Does anyone have another solution?

dsystem

I got a solution to send auto-responses in HTML and also send text with spelling accents

cp /etc/postfix/vacation_class.php /etc/postfix/vacation_class.bak
nano /etc/postfix/vacation_class.php

Before:
    $content_type = property_exists($this->reply,'ishtml') && $this->reply->ishtml == 1 ? 'text/html' : 'text/plain';
    $headers .= 'Content-type: ' . $content_type . '; charset=' . $this->reply->charset . "\r\n";


After
    $content_type = property_exists($this->reply,'ishtml') && $this->reply->ishtml == 1 ? 'text/html' : 'text/html';
    $headers .= 'Content-type: ' . $content_type . '; charset=utf-8\r\n';


This is just an adaptation! The auto-response feature needs some attention from the developers, It has a lot of bugs...