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