Skip to main content

Bulk set default email address

Comments

6 comments

  • cPRex Jurassic Moderator
    Hey there! Can you get me more details on the setup you're working with? Is each one of those subdomains a unique cPanel account? If so, you could use the following API to set the address for each account:
    0
  • yondermann
    Hey there! Can you get me more details on the setup you're working with? Is each one of those subdomains a unique cPanel account? If so, you could use the following API to set the address for each account:
    0
  • cPRex Jurassic Moderator
    After re-reading that API documenation, it would still work well but you would just need to add the option "domain" flag so it knows the specific subdomain you are working with. This could then be scripted to loop through a text file and setup the preference(s) of your choice.
    0
  • yondermann
    So you say that, there is a way but I have to write my own script to do that.
    0
  • cPRex Jurassic Moderator
    That's correct. The API call would let you do it for one account at a time, but you'd need to create a custom script if you wanted it to loop through the accounts on the server.
    0
  • yondermann
    Ok, I'll figure out something. Thanks a lot!
    0

Please sign in to leave a comment.