The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

collect contact e-mails from accounts ?

Discussion in 'E-mail Discussions' started by jeroman8, Aug 29, 2006.

  1. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    Anyone know a script or a easy way to collect all cpanel contact addresses ?

    My "problem":
    Many of my clients set contact address in cpanel but "forget" to change the email
    in my billing script so the invoices is not coming through.
    I then need to check which server a account is on, then login to whm and list the account to see if the have another contact email there I can use.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    They're stored in /home/*/.contactemail so this will find the files and you can script around it:

    find /home/*/.contactemail
     
Loading...

Share This Page