Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Important Html Mail !!!

More
15 years 5 months ago #71431 by yoxosy
Html Mail !!! was created by yoxosy
Hello !!!
i want change the text of the notification email
i found thai i have to change it here :
components\com_kunena\lib\kunena.posting.class.php
after line 936
Code:
foreach ( $emailToList as $emailTo ) { if (! $emailTo->email || ! JMailHelper::isEmailAddress ( $emailTo->email )) continue; if ($emailTo->subscription) { $msg1 = JText::_ ( 'COM_KUNENA_POST_EMAIL_NOTIFICATION1' ); $msg2 = JText::_ ( 'COM_KUNENA_POST_EMAIL_NOTIFICATION2' ); } else { $msg1 = JText::_ ( 'COM_KUNENA_POST_EMAIL_MOD1' ); $msg2 = JText::_ ( 'COM_KUNENA_POST_EMAIL_MOD2' ); } $msg = "$emailTo->name,\n\n"; $msg .= $msg1 . " " . $this->_config->board_title . " " . JText::_ ( 'COM_KUNENA_GEN_FORUM' ) . "\n\n"; $msg .= JText::_ ( 'COM_KUNENA_MESSAGE_SUBJECT' ) . ": " . $subject . "\n"; $msg .= JText::_ ( 'COM_KUNENA_GEN_FORUM' ) . ": " . $this->parent->catname . "\n"; $msg .= JText::_ ( 'COM_KUNENA_VIEW_POSTED' ) . ": " . $authorname . "\n\n"; $msg .= $msg2 . "\n"; $msg .= "URL: $LastPostUrl\n\n"; if ($this->_config->mailfull == 1) { $msg .= JText::_ ( 'COM_KUNENA_GEN_MESSAGE' ) . ":\n-----\n"; $msg .= $message; $msg .= "\n-----"; } $msg .= "\n\n"; $msg .= JText::_ ( 'COM_KUNENA_POST_EMAIL_NOTIFICATION3' ) . "\n"; $msg .= "\n\n\n\n"; $msg = JMailHelper::cleanBody ( $msg );
But my Problem i want use a html codes here !! and when i add it it's not work !!
its show the html msg with plain text, not html text !!!
pls any one can tell me how i can change the ContentType from text/plain to text/html !!!!

Please Log in or Create an account to join the conversation.

Time to create page: 0.210 seconds