Jump to content

Help Creating Custom Email


msaunders

Recommended Posts

Hi

 

I have created a custom email that is fired via a hook using the Internal API and examples on this page

 

http://docs.whmcs.com/API:Send_Email#Internal_API_3

 

The email works etc but I want to include some regular email template variables in the email i.e {$signature} ,{$service_product_name} etc

 

Anyone any examples on how to do this ? I know I can write a function to pull the info in from the DB but I was hoping there is an easier way. Just inserting {$service_product_name} into the email template does not work.

 

TIA

Martin

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