Search Forums
Forums
Kiwitrees on Twitter
    Tags

    notes, repo, add, performance, error, charts, php 5.6, googlemap. modified, burial, last change date, login, re-order, backup, 3.1.1, abbreviate, updates, webtrees 1.4.4.1, session, gender change, individual resource, administration pages, dropbox. token, hover, shared notes, googlemap, message contactform, theme, links, danish, MAC, Administration, lists individuals families, BAPM, cookie, datatables, 3.2.2, GEDCOM, access roles, language, cousins, places, contact links, blank screem, click, admin, design, follow, slideshow, fact, validation, married, IE11, HTML block, custom, style, event, new feature, webtrees, request, time

    #3186
    kiwi
    kiwi
    Keymaster

    1614 posts

    I just checked further to remind myself.

    Yes you CAN send HTML emails. You need to manually change one file, and at present that file has a small bug. Attached is a replacement version (kiwitrees/includes/functions/functions_mail.php.

    In this file, near the top,are these three lines of code:

    	$mailFormat = “plain”;
    	//$mailFormat = “html”;
    	//$mailFormat = “multipart”;
    

    To use HTML (or multipart, which is always a good idea) just comment out plain and un-comment multipart to have this:

    	//$mailFormat = “plain”;
    	//$mailFormat = “html”;
    	$mailFormat = “multipart”;
    

    Then in the mail pop-up window type your message including HTML tags. I just tested it sending this simple message to myself:

    <strong>This is bold text.</strong><br /> This is normal text.

    It appeared in my inbox correctly as:

    This is bold text.
    This is normal text.

    When I have time I will investigate including the WYSIWYG editor on the mail form.

    Nigel
    My personal kiwitrees site is www.our-families.info