epretorious Posted April 20, 2013 Share Posted April 20, 2013 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): Orders -> [select multiple] -> Send Message Insert the merge fields...Login Details Username: {$service_username} Password: {$service_password} 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? 0 Quote Link to comment Share on other sites More sharing options...
epretorious Posted May 14, 2013 Author Share Posted May 14, 2013 What is the status of this bug report? 0 Quote Link to comment Share on other sites More sharing options...
And then there was one les Posted May 16, 2013 Share Posted May 16, 2013 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) 0 Quote Link to comment Share on other sites More sharing options...
And then there was one les Posted May 18, 2013 Share Posted May 18, 2013 WHMCS refuses to send the service username & service password when sending a message to multiple clients (for multiple product/service orders): Orders -> [select multiple] -> Send Message Insert the merge fields...Login Details Username: {$service_username} Password: {$service_password} 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. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 30, 2013 WHMCS CEO Share Posted May 30, 2013 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 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.