Jump to content

Resent Email to Client error


noisehosting

Recommended Posts

When i want to resend an email to a client i get the following error al of a sudden. Use to work fine.

 

Fatal error: Smarty error: [in emailtpl:emailmessage line 1]: syntax error: unrecognized tag: font-family: verdana; font-size: 11px; font-weight: normal; (Smarty_Compiler.class.php, line 439) in /home/hosting/public_html/clientarea/libs/Smarty.class.php on line 1095

 

Any idea why and how to fix it?

 

Thanks

Link to comment
Share on other sites

Hi SoftDux

 

Thanks for the quick response, but unfortunately that doesnt want to fix the error message. I've reuploaded all the files in admin,includes and libs and it is still not working...

 

Weird, must of been since the latest upgrade a few weeks back...

 

Any more ideas what it might be?

Link to comment
Share on other sites

Same problem here. I'm guessing this has something do with with the Email CSS Code (from Configuration->General Settings->Mail) and that it is not inserted properly when you do a resend.

 

Can others on version 3.8.1 test this and see if it is just my/our installs or if this is a wider problem?

Link to comment
Share on other sites

  • 4 weeks later...

Ok I have an issue here with email too. I'm using Outlook 2007 and I know Microsoft have broke HTML rendering in Outlook 07. However that said I think the WHMCS CSS Style function doesn't work correctly. Perhaps the updated sendmessage.php file fixes this however this is the case then that needs to be made clear here in this forum.

 

If I go to resend a message from the Email Message Log, then click on the HTML view button I get the Email CCS Code appear at the top of the HTML source inside <p> tags - this is clearly wrong, and if I sent the message with this it would look very bad to the client.

 

Does the new sendmessage.php fix this error or is something else going wrong?

 

Also does anyone know how to use the HTML Style function within TinyMCE since the drop down doesn't work for me. If I want to apply different styles of the HTML I have to do it manually in the HTML source?

Link to comment
Share on other sites

This may be totally off but I had similar problems when creating my French translations for the email messages. I found I was pasting content from word and a lot of that needless and heavy formatting was getting pasted along with the text. After viewing the email's HTML code I saw it. Cleaned it up and that pretty much fixed it for me. It may be some of the more complex HTML tags are tripping up the smarty compiler.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated