• ResolvedPlugin Contributor FREEZhao

    (@freezhao)


    1 Stop sending the mail with old template, I have to change the new template.
    2 The unsubscribe style can not work.
    3 the <?php echo xxxx?> doesn’t work, I need a year~year footer credit. It works before but failed after update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author vandestouwe

    (@vandestouwe)

    Please give more info of the problem.
    Like:
    – What template version
    – raw text of the email template you are using (between code tags)
    – Faulty email

    Please test the unchanged demo email template.

    Plugin Contributor FREEZhao

    (@freezhao)

    I use the old template like 2.0 but I modified them to:

    <table style="width: 800px;max-width: 800px;border-collapse: collapse"><tbody>
    <tr><td><img src="https://xxxxx.jpg" width="800" alt=""></td></tr>
    
    <tr style="background-color: blanchedAlmond"><td style="padding-top: 20px; padding-bottom: 20px; padding-left: 20px; border: none; text-align: center"><h3>{{post_title}}</h3></td></tr>
    
    <tr style="background-color: seashell"><td style="padding-top: 20px; padding-bottom: 20px; padding-left: 20px; padding-right: 10px; border: none; text-align: left">{{post_content}}</td></tr>
    
    <tr style="background-color: blanchedAlmond;"><td style="padding-top: 20px; padding-bottom: 20px">
    <table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody>
    <tr>
    <td width="30%" style="color:#808080; padding-left: 10px; text-align: left"><span style="color:#808080; text-decoration: none; border-bottom: 1px #999999 dotted; ">{{unsubscribe}}</span></td>
    
    <td width="40%" style="text-align: center; color:#808080; ">© 2020 - <!--?php echo date('Y'); ?--><a href="http://xxxxxxx" style="color:#808080; text-decoration: none; border-bottom: 1px #999999 dotted; ">Job.freezhao.com</a></td>
    
    <td width="30%" style="color:#808080; padding-right: 20px; text-align: right"><a href="mailto:[email protected]" style="color:#808080; text-decoration: none; border-bottom: 1px #999999 dotted; ">xxxxxx</a><a>
    </a></td></tr></tbody></table></td></tr></tbody></table>

    It’s OK to use the 2.3 template, but the problem is it stop sending the mail for a long time that I didn’t realize it .

    Mail debug detials show:

    Content
    Mailer: 其他 SMTP Message body empty
    Source
    Subscribe to Category
    /www/wwwroot/www.freezhao.com/wp-content/plugins/subscribe-to-category/classes/class-stc-subscribe.php (line: 2018)
    Plugin Author vandestouwe

    (@vandestouwe)

    First check if the unchanged demo template are working.
    I’m sure there is a problem in your changes / additions

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Failure after update’ is closed to new replies.