Results 1 to 3 of 3

Thread: HTML mail template in sugar

  1. #1
    Amadeo Guest

    Unhappy HTML mail template in sugar

    Hi,

    I want to integrate a mail template into sugar.
    I made al up in dreamweaver .XHTML and I past it in the body.

    But when I do so all the nice html code I made is getting a real big mess.
    When I send the mail with outlook all looks perfect.

    any one can tell me what I need to adjust to the code to make it work?
    Thank you.

    see: Informatie Counthree for the mail tamplate.
    See for a screen of how it looks in Sugar: http://www.ab-isolutions.nl/Schermaf...2014.06.47.png

  2. #2
    Niggy is offline Sugar Community Member
    Join Date
    Oct 2008
    Posts
    255

    Default Re: HTML mail template in sugar

    Give this a try.
    Ubuntu Apache/2.2.11 (Debian) PHP/5.3 MySQL 5.5

    My Blog

  3. #3
    duprazm is offline Sugar Community Member
    Join Date
    Jul 2010
    Location
    Lugano, Switzerland
    Posts
    12

    Default Re: HTML mail template in sugar

    Hello,

    Modify the SugarCleaner class inside \include\clean.php in order to suit your need.

    i.e. modify $config->set('HTML.TidyLevel', 'light'); to $config->set('HTML.TidyLevel', 'none');

    Also modify the var $defaultConfig in \include\SugarTinyMce.php

    i.e. modify 'verify_html' => true, to 'verify_html' => false,

    Remeber that those modification are not upgrade safe.

    Matteo

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Add/replace Sugar mail template CSS rules
    By banana12 in forum Help
    Replies: 1
    Last Post: 2012-02-08, 10:11 AM
  2. Replies: 2
    Last Post: 2010-06-13, 04:37 PM
  3. Sugar hosting of images for HTML email template
    By acampbell in forum Marketing/Campaign Management
    Replies: 1
    Last Post: 2009-03-06, 01:46 PM
  4. E-Mail template HTML editing not visible
    By johnswolter in forum Help
    Replies: 2
    Last Post: 2008-02-12, 04:11 PM
  5. Sugar Mail is SPAM! How to turn off HTML?
    By bjs3 in forum General Discussion
    Replies: 0
    Last Post: 2006-02-21, 04:03 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •