Jump to content

Send a different email address to cPanel


PJ81

Recommended Posts

Hi,

 

I was wondering if there is a way to send a default email address to cPanel when a new hosting account is created through WHMCS. Currently it uses the account email address in WHMCS but is confusing for some clients when they receive notifications from cPanel.

 

I still want the notifications to be created so they are sent to a specific party or a default email address, just not necessarily to the client's email address as they're under managed hosting and don't have cPanel access given to them.

 

Any pointers would be appreciated! :-)

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

Whilst there isn't an option for this as standard, I imagine it's something that could be customised.

 

For example you could write some code of your own to send the email account creation code to the cPanel API: https://documentation.cpanel.net/display/SDK/UAPI+Functions+-+Email%3A%3Aadd_pop

 

Then trigger this to be executed when the account is created by WHMCS using the AfterModuleCreate action hook point:

http://docs.whmcs.com/Hooks:AfterModuleCreate'>http://docs.whmcs.com/Hooks:AfterModuleCreate

http://docs.whmcs.com/Hooks

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