com_contact sending html email instead of plain text email

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
herotic
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Nov 24, 2009 3:22 pm

com_contact sending html email instead of plain text email

Post by herotic » Tue Nov 24, 2009 3:31 pm

hi,

I'm guessing if com_contact can send html emails instead of plain text emails. I'm oblige to use an email template without changing that component or using an extension. Is there any way to modify its config?

something like :

$mail = JFactory::getMailer();
$mail->Send('html');

Does anyone have a lead ?

thanks

User avatar
dam-man
Joomla! Exemplar
Joomla! Exemplar
Posts: 7961
Joined: Fri Sep 09, 2005 2:13 pm
Location: The Netherlands
Contact:

Re: com_contact sending html email instead of plain text email

Post by dam-man » Tue Nov 24, 2009 3:43 pm

Mod Note: Topic moved to General Questions Forum
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards

herotic
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Nov 24, 2009 3:22 pm

Re: com_contact sending html email instead of plain text email

Post by herotic » Fri Nov 27, 2009 8:27 am

I found how to solve my problem :

I hacked com_contact/controller.php and added :

$mail->isHTML(TRUE);

jonBuckner1
Joomla! Explorer
Joomla! Explorer
Posts: 428
Joined: Mon Nov 12, 2012 9:08 am

Re: com_contact sending html email instead of plain text email

Post by jonBuckner1 » Thu Jan 25, 2018 5:26 pm

Legend!


Locked

Return to “General Questions/New to Joomla! 1.5”