Loading...
 
Features / Usability

Features / Usability


Re: HTML email for notifications

posts: 3665 United States

You may need to check and see how the email is being encoded... will it support HTML?

HTH,

-Rick

> Hi all,
>
> I'd like to be able to send formatted emails from tikiwiki when, say, a page has been updated. I've located the template to be edited, but I've not been able to produce a nicely formatted email using either HTML markup or wiki syntax. (The markup is just output directly onto the email.)
>
> questionIs it possible to send HTML-email from tikiwiki, and if so what syntax should I use?question
>
> The only references to this that I can find in the forums relate to a bug with HTML in newsletters...
>
> Rik

posts: 31 United Kingdom

> You may need to check and see how the email is being encoded... will it support HTML?
>

Hi Rick,

Thanks for the reply.
I ended up looking through the code and it looks like the email is initialised to explicitly send text based emails. Sending html mail would require a code change.

FYI:
The code is contained in lib\notifications\notificationemaillib.php function sendWikiEmailNotification

Thanks for the pointer!

RikRak


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting