I have a form that requires sending an email using the template function in order to group some fields correctly.
I need to be able to send the email as text, rather than HTML, since some recipients can't view the HTML correctly.
Anyone have any ideas?
Thanks
I need to be able to send the email as text, rather than HTML, since some recipients can't view the HTML correctly.
Anyone have any ideas?
Thanks
Hi nengineer,
In theory you can set one of the semdMail parameters false to cancel html mail (and probably change the email headers) but I recall someone tried this before and had no success. Maybe it will work with the current Joomla versions??
Near the end of Chronocontact.php - around line 514 you'll find the sendmail command - change the 'true' in the middle to 'false' and see what happens.
Bob
In theory you can set one of the semdMail parameters false to cancel html mail (and probably change the email headers) but I recall someone tried this before and had no success. Maybe it will work with the current Joomla versions??
Near the end of Chronocontact.php - around line 514 you'll find the sendmail command - change the 'true' in the middle to 'false' and see what happens.
Bob
Just changing the parm to 'false' caused it to send the HTML source in the email.
I would prefer to not go hacking the code, as it makes upgrades a pain later.
Maybe there is something else in the Sendmail parms that I can try. I'll take a look at that and see.
Thanks
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<base href="JURI::base()/" />
<style type="text/css"></style>
</head>
<body>
First Name: test <br />
Last Name: test <br />
Comment: test <br />
<br /><br /><br /><br /><br />
Submitted by 172.16.10.131
</body></html>
I would prefer to not go hacking the code, as it makes upgrades a pain later.
Maybe there is something else in the Sendmail parms that I can try. I'll take a look at that and see.
Thanks
This topic is locked and no more replies can be posted.