collect contact e-mails from accounts ?

jeroman8

Well-Known Member
Mar 14, 2003
410
0
166
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
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