Jump to content

[NOT A BUG] WHMCS Won't Send Service Password


Recommended Posts

The WHMCS manual page "Email Templates" says...

 

The merge fields available in your message depend on what type of email you are sending. For example if it's an email related to a client you can include client fields only, but if it's a product related email you could include product details as well as client fields.

 

WHMCS refuses to send the service username & service password when sending a message to multiple clients (for multiple product/service orders):

 

  1. Orders -> [select multiple] -> Send Message
  2. Insert the merge fields...
    Login Details
    
    Username: {$service_username}
    Password: {$service_password}


  3. Send Message

Clients receive this:

Username:

Password:

Is there some meaning to the phrase "if it's a product related email" that I'm not understanding?

Link to comment
Share on other sites

  • 4 weeks later...

The term product related email means that in the email templates list, a template would be located in the "products" group rather than say, domain, general or any other group.

 

So things like {$service_username} would not be available to general emails but would be available in product emails.

 

You can be sure that any of the merge fields that are visible when viewing a template are available to that template (or should be)

Link to comment
Share on other sites

WHMCS refuses to send the service username & service password when sending a message to multiple clients (for multiple product/service orders):

 

  1. Orders -> [select multiple] -> Send Message
  2. Insert the merge fields...
    Login Details
    
    Username: {$service_username}
    Password: {$service_password}


  3. Send Message

Clients receive this:

 

I have been thinking this over some, Bear in mind that the orders are not service related in respect to emails. So if you try to send password from orders they wouldnt be available.

 

Passwords /usernames are specifically service related so in order to send the username or password you need to be sending the email from the clients > services tab. This should solve your problem.

Link to comment
Share on other sites

  • 2 weeks later...
  • WHMCS CEO

Yep, CDJ Hosting is correct here. When you select orders with the intention to send an email to them, the email type you are composing is a General email and thus product merge fields are not available to you. This is because an order may contain 2 or more services (and so which one would it take details from) or none at all as not every order has to be for a service (domains, addons, upgrades, etc...). So if you're wanting to send emails relating to products you need to select them from the Products/Services list, or use the Mass Mail tool.

 

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