1
RJ-45
HTML Emails in xHelp 0.78
  • 2009/10/29 14:10

  • RJ-45

  • Just popping in

  • Posts: 53

  • Since: 2005/1/30


Hi!

Are there any way to send HTML format emails in the notifications of xHelp 0.78?

Thanks!

2
ghia
Re: HTML Emails in xHelp 0.78
  • 2009/10/29 16:45

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try with adding
$xoopsMailer->multimailer->isHTML(true);
in /class/notificationService.php

3
RJ-45
Re: HTML Emails in xHelp 0.78
  • 2009/10/29 17:23

  • RJ-45

  • Just popping in

  • Posts: 53

  • Since: 2005/1/30


Hi,

If I do it, the entire website doesn't work. (full blank page)

The file that I've modified is /modules/xHelp/Class/...

My version of XOOPS is the 2.0.18.2

Thanks!

4
RJ-45
Re: HTML Emails in xHelp 0.78
  • 2009/10/29 17:32

  • RJ-45

  • Just popping in

  • Posts: 53

  • Since: 2005/1/30


This is the debug error log:

Fatal errorCall to a member function isHTML() on a non-object in C:xampphtdocsintranetmodulesxhelpclassnotificationService.php on line 1763 All errors (2queries (7blocks (4extra (0timers (4Errors NoticeUndefined variablexoopsMailer in file /modules/xhelp/class/notificationService.php line 1763 NoticeTrying to get property of non-object in file /modules/xhelp/class/notificationService.php line 1763

5
ghia
Re: HTML Emails in xHelp 0.78
  • 2009/10/30 0:05

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Where did you put it?
At the end of the file?
I would think after
$xoopsMailer->useMail();

6
RJ-45
Re: HTML Emails in xHelp 0.78
  • 2009/10/30 8:58

  • RJ-45

  • Just popping in

  • Posts: 53

  • Since: 2005/1/30


Perfect!!! It's works perfectly now!

Thanks

Login

Who's Online

221 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 221


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits