4
WHMCS Provisioning Module for SmarterMail
Question asked by ram - 3/19/2020 at 5:54 PM
Answered
The Version 1.5 is compatible with SmarterMail Build 7242?

50 Replies

Reply to Thread
1
ram Replied
Any idea?
0
Kevin McNally Replied
Are there any updates on this module?

Thank you.
0
Employee Replied
Employee Post
We have a development sprint dedicated to reviewing and updating WHMCS code. It has been scheduled fore before the end-of-year release.
0
Jade D Replied
Speak to Modules Garden about a Smartermail module.

We're busy with them at the moment with the development of a whmcs module for smartermail but its better aimed at mail servers where usage per email is counted so it may not suit your setup.

99% of our modules are developed or provided by Modules Garden.
Jade https://absolutehosting.co.za
0
jordan Car Replied
Just wanted to check in on this as we are no longer able to use the module with WHMCS version 8. Will this still be updated?

Have a great day!
Jordan
0
Nathan Replied
Would be good if the new module would support the sale of mailboxes with fixed sizes. For example, customer can choose betwen 2GB, 5GB and 10GB mailboxes and can purchase any quantity of each. 

Edit:

@Jade - just seen your message above regarding Modules Garden custom dev. Would your module do the above?
0
Jade D Replied
@Nathan

Our module wouldnt work in this case, as it requires a specific domain to be setup as part the product setup but it does allow for custom mailbox sizes.

I could request a quote from MG and find out about sub leasing it to you if there is sufficient demand.
This would save you a ton on the initial development and we could package various features into the module.

Let me know
Jade https://absolutehosting.co.za
1
Mark Milton Replied
The latest version works with the latest WHMCS but there is a few bugs. I had talks last month with SmarterMail to find fixes to all the bugs.
Allowing users to choose the mailbox size can be done using configurable options but does need the code to be edited to get the details.
Mark Milton Pro Tech North Web: www.protech-north.co.uk Email: mark.milton@protech-north.co.uk Tel: +44 (0)1261 838282 Web Design & Web Hosting
1
Jade D Replied
Hi Mark

Would you be able to provide the others with a guide on what needs to be changed, Im sure that will help them out.
Jade https://absolutehosting.co.za
1
Mark Milton Replied
A good starter guide would be to look at the WHMCS development docs
Mainly the last section on this page

Because I have added well over 500 new lines I can't give exact line numbers but within smartermail.php look for

//Used when a product is created within WHMCS.  This calls 'createdomain' web service on SmarterMail installation.
Then around 10 lines below
'userLimit' => $params... it will have the configoption it gets the figure from when you set up the product

I changed mine to
'userLimit' => $params["configoptions"]["Mail Boxes"],

This line gets the number of mailboxes the user selects when purchasing and sends it to SmarterMail when creating the domain

The WHMCS doc would help explain how to set up and get the configoption

I have done this for most of the option in SmarterMail making most of the domain admin options available in WHMCS. My smartermail.php file currently has 1100 lines I think the original was around half that and am still not finished plus all the other tpl lines that go with it.

My aim is to allow the client to select all the possible options from WHMCS and manage all the users.

There are a few bugs in the WHMCS module I haven't been able to solve but the guys and SmarterMail are looking at it. A few of the main issues are deleting users as it says they are deleted but aren't and managing users as it doesn't show the first user in the user list for the domain so there is always one user missing.
Mark Milton Pro Tech North Web: www.protech-north.co.uk Email: mark.milton@protech-north.co.uk Tel: +44 (0)1261 838282 Web Design & Web Hosting
0
jordan Car Replied
I can't get the server module to communicate at all, but then no module log info at all either. It's very strange.
0
Matt Petty Replied
Employee Post
@jordan
We do have a bug with using the 9998 port with WHMCS not working since WHMCS isn't using the custom webport configured at the moment. This is one of the bugs we have scheduled to get fixed. If this is your case open up port 80/443 locally (or to your WHMCS server) and that could fix it for now.
Not saying this your problem, but I had issues with module communication when setting up our test environment. Also for the logging in some cases you have to enable advanced logging in settings to see some of the module logs.
Matt Petty Senior Software Developer SmarterTools Inc. www.smartertools.com
0
jordan Car Replied
Hey Matt,

I had no binding for 9998 anymore for IIS so that makes sense. I've tried adding it as http and https but no joy, I'm assuming it should be https with the box for ssl selected in WHMCS?
0
William Leaver Replied
We have a development sprint dedicated to reviewing and updating WHMCS code. It has been scheduled fore before the end-of-year release.
Any word on this? The module seems completely broken with WHMCS 8.x both in terms of provisioning and the client area interface as well. 
Secure Hosting • Business Email • Live Streaming
1
Nico Replied
Any update on this ?
1
Romeo Marra Replied
I would also like to know when the updated module is ready.
0
William Leaver Replied
I opened a ticket about this on December 23rd. Was told not to expect to get good info until January 4th due to the Holiday. Finally got this on January 14th:

Good afternoon, I hope you're doing well today. I just wanted to let you know I took a quick look at the development task on this, but it looks like they're still working on it over there. Please stand by and we'll reach out to update you again as new information becomes available. Thanks for your time, and have a great day!
Secure Hosting • Business Email • Live Streaming
0
William Leaver Replied
Ticket update received today:

Good afternoon, I hope this email finds you well. I checked on our development task for this today, but unfortunately it doesn't look like development has identified the root cause yet. I will continue to check on this periodically though and will update you as I find out more. Thanks for your time, and have a great rest of your week.
Secure Hosting • Business Email • Live Streaming
0
William Leaver Replied
Still no movement on this apparently. Today's update from my support ticket:

Good afternoon, and thanks again for your patience. I just checked in on the development task, but so far we don't have any updates we can provide as they are still investigating. Please stand by and I'll continue to check in for you periodically. Have a good one!
Secure Hosting • Business Email • Live Streaming
1
Grizales Grizales Replied
A little short-sighted. Someone with a little business acumen and put SmarterMail on the WHMCS marketplace. Making the plugin is some minimal development. Now with the marketplace where these hundreds of thousands of hosting companies could triple a year's sales. https://marketplace.whmcs.com/promotions

Vision gentlemen ! 
0
Jade D Replied
@Grizales

Are you running a control panel or simply want to integrate directly into smartermail?

I would suggest installing SolidCP, having it sit as a front end to smartermail and then use the SolidCP WHMCS module or purchase SolidCP Extended from Modules Garden and use this to manage your mail domains.
Jade https://absolutehosting.co.za
0
Mark Milton Replied
@Jade

Can you provide some more details about connecting SolidCP with SM? Can SolidCP control everything about SM such as adding users, domains, storage etc?
Mark Milton Pro Tech North Web: www.protech-north.co.uk Email: mark.milton@protech-north.co.uk Tel: +44 (0)1261 838282 Web Design & Web Hosting
0
Nathan Replied
SolidCP is good but it is another thing to manage if it is not generally required. It seems to make more sense for SmarterTools to provide a WHMCS module and ideally one with features such as being able to offer quantities of fixed mailbox sizes within a package which is not possible with SolidCP.
0
William Leaver Replied
It seems to make more sense for SmarterTools to provide a WHMCS module
They already do, (though not with all the features you mention), but it's broken. If they'd just fix the module they've released that would be a step in the right direction. It was initially said to be due by the end of 2020.
Secure Hosting • Business Email • Live Streaming
0
Nathan Replied
Quite, I know those modules have been kicking around for some time.  Having to add extra layers to manage SmarterMail from WHMCS (i.e. SolidCP) is an extra expense and something else to support which an official module could fix. We use that route as a crude workaround but its 

In the current landscape providing fixed size mailboxes is hardly ground breaking, indeed it is the standard. We see end-users moving away from mailboxes bundled with shared hosting to purchasing it as a standalone offering because they need massive mailboxes.

As others have pointed out having a working WHMCS module would be a selling point for many a provider. If SmarterTools do not have the bandwidth they could have a chat with the team over at ModulesGarden and fund a module :-) ...Or maybe we'll be having the same conversation in 12 months time!
1
Jade D Replied
@Mark 
SolidCP does all that you require it to do (creating domains, mailboxes, aliases etc etc etc) and includes bandwidth and disk reporting for smartermail.

Despite what others have said about having to manage another system, solidcp is simple to setup and quite lightweight so you could for instance set it up on the same server that hosts smartermail and have it connect to an external SQL server.

Right now, if you're looking for a solution to run your business I would choose one that requires a little more effort (setting up solidcp) and works rather than relying on smartertools to fix their module.



Jade https://absolutehosting.co.za
0
Marty H Replied
Does anyone know if there have been any updates on this?
1
Nathan Replied
With the recent pricing debacle at WHMCS there may not be the urgency to release the module. Writing a module for Blesta, ClientExec or one of the others may be more of an investment for Smartertools.
1
William Leaver Replied
Here we are six months after a promised update to the WHMCS provisioning/management module and still nothing functional?
Secure Hosting • Business Email • Live Streaming
1
Marty H Replied
Nathanael Rodriguez from whmcsmod.com is hopefully reading this. He had a working addon before Smartermail made theirs and is considering updating it now that Smartermail seems to be giving up on us. We have been using his mod since 2012 since it has way better features and gets way better support. We will be happy to use his if he gets it done.
0
Terry D Replied
Here is a solution I found to make this module work in WHMCS 8, add the following to your configuration.php file:

// minimum policy inside configuration.php
$smarty_security_policy = array(
    'system' => array(
        'disabled_tags' => [],
        'enabled_special_smarty_vars' => array(
            'template_object',
            'foreach',
            'section',
            'block',
            'capture',
            'now',
            'get',
            'post',
            'server',
            'request',
            'template',
            'const',
        ),
    ),
);

In the editsmartermailalias.tpl file, around line 23 change echo "\n"; to echo PHP_EOL;

Hope this helps;

0
terry Replied
It is time to update this module to stop using Legacy Smarty tags "{php}, {include_php} and {insert} tags ". WHMCS no longer supports Legacy Smarty tags.


0
Zach Sylvester Replied
Employee Post
Hello, 

Thanks for reaching out again regarding this. We have been working on the new module. One requirement for this module is that you will need to be running the newest version of SmarterMail as it uses some of the new API calls that are not backward compatible. So it's a good idea to start planning to upgrade to the newest version if you haven't already been doing so. We are currently still working on some QC items for this plugin it looks like it's coming along. But if you're currently running WHMCS the same applies so you should wait on upgrading your production until the new module is out. 

Thanks, 
Zach Sylvester Software Developer SmarterTools Inc. www.smartertools.com
0
terry Replied
We are running the latest version of SmarterMail, and WHMCS. I am very familiar with WHMCS so if you would like a beta tester, please reach out to me.

0
echoDreamz Replied
WHMCS 8 still "supports" the deprecated legacy php, include_php and insert tags, it's v9 (still a planned version) that will remove support for them. They are moving to Smarty v4 which removes the SmartyBC class that allowed for the backwards compatibility of these tags.
0
William Leaver Replied
I've had an open ticket since April 13, 2022, exactly a year to today's date, and it opened with this sentence from the dev team:

> I wanted to let you know that a new WHMCS module is in the works!

A year later and still no progress. I guess now I can see that it was waiting on the new version. Zach, now the new version is in production, any idea when this will actually happen?
Secure Hosting • Business Email • Live Streaming
0
Russ Miller Replied
I see in Build 8495 (Apr 5, 2023) the following:
Added: Entirely new WHMCS module for provisioning and plan creation.

I am unable to find additional details on this on SmarterTools website or in the WHMCS Marketplace. Does anyone have any details? And is anyone actively using this?
0
Matt Petty Replied
Employee Post
@Russ
I think that some how worked its way into our release notes from our task system. I don't believe we've released it yet, we're still doing some touch-ups and fixes. Though it's very close to being ready.
Matt Petty Senior Software Developer SmarterTools Inc. www.smartertools.com
0
Tan Replied
Those using SmarterMail WHMCS module for provisioning, I suggest you to break the WHMCS connection first as there is some issues that might result in data loss. Already contacted SmarterTools Team and they have acknowledge it. Will be fixed in next release.
0
Kyle Kerst Replied
Employee Post
To add on to what Tan said, the issue we've escalated is that if the domain is present in SmarterMail already when you approve the order in WHMCS (causing the module create to run) the domain will be removed from SmarterMail as the domain creation call fails. This has been confirmed in-house and escalated and we hope to have a solution on it soon. If you process your domain creation via WHMCS exclusively this is not a concern.
Kyle Kerst IT Coordinator SmarterTools Inc. www.smartertools.com
0
Christopher Erk Replied
I'm a bit confused. I had the module installed, but I can no longer find any reference to a place to download it anywhere. I guess I will just remove it for now because it's clearly outdated and broken.
2
Matt Petty Replied
Employee Post
We just finished a review/testing phase today and we're adding some documentation. 
We've also got fixes in the next build which resolves the issues Tan brought up, it was actually an issue in SM rather than WHMCS.

Stay tuned, we'll post in here with a link to download.
Matt Petty Senior Software Developer SmarterTools Inc. www.smartertools.com
0
Christopher Erk Replied
Stay tuned, we'll post in here with a link to download.
Thanks @Matt, looking forward to it!
0
Chris Danks Replied
Wahoo! new WHMCS module :) I'm looking forward to seeing it.
0
Derek Curtis Replied
Employee Post Marked As Answer
All,



We DO ask that, if you're going to test it out, that you wait for this week's SmarterMail Build, just to make sure you have the latest and greatest. 

If you have questions or comments, please contact our Customer Service or Support teams. This is essentially a ground-up rewrite, so we're interested in your thoughts.  
Derek Curtis COO SmarterTools Inc. www.smartertools.com
0
Christopher Erk Replied
The new WHMCS is live[...]

We DO ask that, if you're going to test it out, that you wait for this week's SmarterMail Build, just to make sure you have the latest and greatest. 
Awesome, thanks! 

Does this mean it won't work or that it's untested with the current lasted public build? A bit odd to release this for a SM build that isn't out yet if that's the case.

1
Derek Curtis Replied
Employee Post
It should work just fine with the most recent public build. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com
0
William Leaver Replied

Prerequisites
• Existing installation of WHM/CPanel.
  
Makes no sense! Why would be WHM/Cpanel be required?
Secure Hosting • Business Email • Live Streaming
1
Derek Curtis Replied
Employee Post
Good point. I'll get that corrected to "Existing installation of WHM/CPanel (if used)". Generally, WHMCS and CPanel are installed together, but CPanel/WHM are definitely not required. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com
0
William Leaver Replied
Well, not to nit pick but I still have a couple problems with your response in terms of good/reasonable documentation (but that's just me of course):

1. I'll get that corrected to "Existing installation of WHM/CPanel (if used)" Prerequisites are not "(if used)". Frankly it would be best to just strike that completely.

2. Generally, WHMCS and CPanel are installed together is not really true. The only association between WHMCS and cPanel is their new shared vulture capitalist owners, the focus on cPanel over others panels (but still support many panels) and their predilection to reduce market share but increase pricing (4 times in the past 4 years) to serve their shareholders over clients.
Secure Hosting • Business Email • Live Streaming

Reply to Thread