Forums

Email template limit?

Bullfn33 09 Dec, 2008
Hi, I'm using CF 2.5 J1.5 RC3.1 and I'm having difficulty with the email following form submission.

Everything works fine as far as sending the email but when I check the results at my email it does not show the correct template that I pasted into the Email template field under the form code tab. It is a rather large template of a table that has about 34 rows and 6 columns. I noticed that when I paste the template and save the form then click back into editing the form and check to make sure the correct template is there it is the older template that was there previously. It seems like it is refusing to save the larger template and reverting it back to the older one and that's the one that gets emailed.

Is there a limit to how much code you can paste into the email template box? thanks
Max_admin 09 Dec, 2008
Hi Bullfn33,

No there is no limit, but try something shorter and see ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Bullfn33 09 Dec, 2008
Yes, it seems to work for a less amount of code, up to at least 2/3 of what I need. Then when I try the whole thing again the form will save to the amount it could hold previously and that is what gets sent to the email.
Max_admin 09 Dec, 2008
mmmm, can you open phpmyadmin and check the emailtemplate field type ? if its "TEXT" make it "LONGTEXT"

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 09 Dec, 2008
Hi Max,

Its a LONGTEXT on my installation :-(

Something else is going on here I think - maybe unquoted text??

Bob
Bullfn33 09 Dec, 2008
I went into phpmyadmin and checked to make sure the field was set to LONGTEXT and it was so then I just decided to try pasting the email template code back there and it worked. Pretty strange but that's all I needed.

thanks for the help guys
Max_admin 09 Dec, 2008
Hi Bob, Bullfn,

I think Bob is correct and it has something to do with quotes or so, its V2.5 so this gets a very high probability! glad you solved it anyway!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.