Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New tool to add ? change email in data base for domains #3

Open
thersane-john opened this issue May 21, 2024 · 0 comments
Open

New tool to add ? change email in data base for domains #3

thersane-john opened this issue May 21, 2024 · 0 comments

Comments

@thersane-john
Copy link

UPDATE   llx_societe
SET      email = CONCAT(LEFT(email, INSTR(email, '@')), 'ledomaine.tld')
WHERE email IS NOT NULL;

UPDATE   llx_socpeople
SET      email = CONCAT(LEFT(email, INSTR(email, '@')), 'ledomaine.tld')
WHERE email IS NOT NULL;

In some dev/test cases, configuring the redirection of all emails to an email x is not always sufficient. For complex workflows, it may be necessary to be able to identify the recipients (e.g. tests with the mail collector).

it would therefore be necessary to be able to mass-modify all e-mails to change not only the domain, but also the identifier.

example of possible modifications to consider :

email: [email protected]

new email: [email protected] or [email protected]


Dans certains cas de dev/test la configuration de redirection de tout les emails vers un mail x n'est pas toujours suffisant il peut arriver que pour des workflow complexes il soit nécéssaire pouvoir identifier les destinataires (ex tests avec le collecteur de mail)

il faudrait donc pouvoir modifier en masse tout les mails pour changer le domaine mais aussi l'identifiant

exemple de possibilités de modifs a envisager :

email : [email protected]

nouvel email : [email protected] ou [email protected]

@thersane-john thersane-john changed the title New tool to add ? change email in database base for domains New tool to add ? change email in data base for domains May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant