sending email in html format
You need to be logged in to post messages in the forums. New users may register here.
|
Anaya P
Member since: 18 May 2010
Posts: 6
|
Wednesday 07 July 2010 1:13:39 am
Hi Guys,
I have contentType set up to text/html in site.ini file. But when file is uploaded by user, I do not get email in html format. It comes in plain text format with html tags.
Without uploaded file, it works ok. So is there any setting I need to add/change in any ini file?
Thanks for your time!
Regards
|
|
|
Steven E. Bailey
Member since: 09 January 2008
Posts: 20
|
Thursday 08 July 2010 1:13:24 am
What versions of ezpublish and enhancedezbinaryfile are you using?
|
|
|
Anaya P
Member since: 18 May 2010
Posts: 6
|
Tuesday 13 July 2010 8:03:12 am
Thanks for your reply Steven,
EZ Publish version - 4.2.0
Enhancedezbinary file - 1.1
Regards
|
|
|
Steven E. Bailey
Member since: 09 January 2008
Posts: 20
|
Thursday 15 July 2010 2:57:10 am
Yeah, this looks like a bug.
On line 382 of collectedinformation.php is this line:
"Content-Type: text/plain; charset=".
Which hard codes it to text/plain... that should probably get the Content-Type from the ini file.
I don't really have time to extensively test this but if all of your mails are text/html then maybe you can just change that line and let me know if that works?
I'll try and get a better fix that takes the value from the ini file commited within the next week.
|
|
You need to be logged in to post messages in the forums. New users may register here.