Question : EmailAlias_Usage

We have an application that sends emails to customers after they place an order.
One customer has 5 emails addresses he wants confirmation.
Someone suggested not change DB design/tables and code and just let customer create an alias email group and define all those emails there.

Is this a good solution? Is there any pros  to using an email alias.

Answer : EmailAlias_Usage

>> You mean creating one field with a big string of emails seprated by commas and then parsing that. I read somewhere this is no good nromlized solution and hard to maintain.

Not exactly, Just create a function and create the comma separated email list on the fly. And don't store the list in database which is not normalized and its not a recommended approach too.

>> What is resource intensive?

Say, if you have only 10 customers, then you can create 10 DLs now manually. But if you have around 1 million customers in your table, then will you be creating 1 million DL for each customers..
And this is what I mentioned as resource intensive as it requires lots of efforts.

>> The solution is for customer to create the alias groups. We just update the email field to that alias.

Yes, you can.
In that case, then you need to plan on how to Add/ Remove or Modify emails list in the DL.
Random Solutions  
 
programming4us programming4us