Evolve Web Hosting Posted April 2, 2020 Share Posted April 2, 2020 Is there a reason WHMCS allows customers to create a 'contact' using the same email address that the primary account holder uses? There is no check for this and we even have 3-5 'contacts' all using the same email address as the primary account holder. What is the point? 0 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted April 5, 2020 Author Share Posted April 5, 2020 Maybe a hook can be written to prevent this from happening? 0 Quote Link to comment Share on other sites More sharing options...
zitu4life Posted April 5, 2020 Share Posted April 5, 2020 (edited) 5 hours ago, EvolveWebHosting said: Maybe a hook can be written to prevent this from happening? don´t think so. There is some post relating using same email on different client on this community and no one can help. This is just how WHMCS works, every single client or contacts different email. Edited April 5, 2020 by zitu4life 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 6, 2020 Share Posted April 6, 2020 On 02/04/2020 at 16:10, EvolveWebHosting said: Is there a reason WHMCS allows customers to create a 'contact' using the same email address that the primary account holder uses? There is no check for this and we even have 3-5 'contacts' all using the same email address as the primary account holder. What is the point? there is one check - it prevents you from enabling a contact as a subaccount when the email address is already in use in a primary account (or I assume another subaccount). which is a good thing because it would be a nightmare if the same email address had multiple logins. I would guess that the logic to allow it would be to enable a contact to receive email notifications from various users (possibly their clients) all to the same email address. 23 hours ago, EvolveWebHosting said: Maybe a hook can be written to prevent this from happening? ContactDetailsValidation seems the likely candidate here - that could be used to lookup the email address in the tables (tblclients and possibly tblcontacts) to ensure that the email address is unique - if not, it can throw an error which should prevent the contact details being added/changed. 1 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted April 6, 2020 Author Share Posted April 6, 2020 It's good to know they can't activate the login in this case. I think I can live with it the way it is for now. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.