Jump to content

[NOT A BUG] Send eMail as PlainText


Recommended Posts

When a mass email was sent as Plain Text which contained some php code that was enclosed in {php} ... {/php} tags the code was executed when the email was sent.

 

I would have expected that if Plain Text was selected that it would be simply that "Plain Text"

Link to comment
Share on other sites

  • WHMCS CEO

Hi,

 

Just because the email is being sent as plain text, does not mean smarty code won't work. Merge fields to include values such as customer name, address, domain details, etc.. will still merge as normal which it needs to for the email to be any use but all other smarty code will also execute so including PHP is fine, just don't put the {php}{/php} around it.

 

Matt

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