Jump to content

Same Email Address Used for Main Account and Contacts


Recommended Posts

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 by zitu4life
Link to comment
Share on other sites

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).

dpyDhHg.png

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated