Changing Subject of 'Account Created' Email Notice in WHM

Discussion in 'Site & Server Administration' started by sunnie, Apr 3, 2008.

  1. #1
    Hello. I'm pretty sure this is where this thread belongs...?

    I'd like to know if it is possible to change the email subject of the account created email sent by WHM to the set user email address after the account is created?
     
    sunnie, Apr 3, 2008 IP
  2. rllunzmann

    rllunzmann Active Member

    Messages:
    1,796
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #2
    I'll look further into this and reply back soon.
     
    rllunzmann, Apr 3, 2008 IP
  3. sunnie

    sunnie Well-Known Member

    Messages:
    350
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    #3
    This question has not yet been answered.
    Would appreciate one. :-D
     
    sunnie, Apr 4, 2008 IP
  4. titahost

    titahost Peon

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I just had a look in Cpanel and you cna do this.

    Check /usr/local/cpanel/Whostmgr/Accounts/Create.pm. There is a line in there:

    print SENDMAIL "Subject: New account on $host ($domain)\n";

    Please note that if you modify this it will get overwritten on the next cPanel update.


    i am looking for a Way so it does not Get overwritten after you next update the Cpanel.
    will post more info later.
    Hope this helps you.
     
    titahost, Apr 6, 2008 IP
  5. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    chattr will stop it from being overwritten.
     
    SSANZ, Apr 6, 2008 IP
  6. sunnie

    sunnie Well-Known Member

    Messages:
    350
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Thanks, but I'm wondering how to find this file on my cPanel? I've been looking for a bit, but I can't seem to find it. :-/
     
    sunnie, Apr 7, 2008 IP
  7. titahost

    titahost Peon

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you will need SSH login info.

    if you own a dedicated server or VPS, its the root login.

    you can login via Putty and do this.

    also, if you need help, pm me and i will do it for you.
     
    titahost, Apr 7, 2008 IP
  8. sunnie

    sunnie Well-Known Member

    Messages:
    350
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    #8
    I still cannot find it, and I have a reseller hosting account, is it enabled for that, or should I email my host?
     
    sunnie, Apr 8, 2008 IP
  9. titahost

    titahost Peon

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    no for reseller it is not enabled. you will ahve to contact your Host
    (i doubt they will do it as it will affect all clients)
     
    titahost, Apr 8, 2008 IP