You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-12-22 12:58:58

dginfoprojekt
Member
Registered: 2023-11-13
Posts: 9

One more question - auto create user when incoming mail create ticket

Hi,
I have one more question, because it seems to me that there is no such option by default. I have a configured email address, e.g. help@mydomain.com, and when emails are written there, CRON downloads them and creates tickets from them. This only works if someone has an email account in GLPI and sends an email to help@ from that email address.
However, I would need any email address sending to help@ to create a ticket as well as a user account (the login would be equal to the email address).
Is such a thing possible to do?
Some custom plugin?
Do you have to write it yourself?


Lorem ipsum dolorosa...

Offline

#2 2023-12-22 15:32:12

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: One more question - auto create user when incoming mail create ticket

Inside your mail collector configuration in GLPI is an option "Automatically create user from email".
When this is enabled and the sender email address doesn't already match an existing user, GLPI will take the following steps:
1. If "Automatically add users from an external authentication source" is enabled under Setup > Authentication > Setup, GLPI will search the configured LDAP servers for a user with a matching email as long as the LDAP servers have the email fields mapped in GLPI (Setup > Authentication > LDAP servers). If a user is found, it is imported into GLPI.
2. If no user created by step 1, GLPI will create a new local GLPI user with the username and last name both set to the email address and a randomized password will be assigned. This new user will receive a "forgot my password" type of notification to prompt them to properly set their password.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-12-27 09:30:18

dginfoprojekt
Member
Registered: 2023-11-13
Posts: 9

Re: One more question - auto create user when incoming mail create ticket

That sounds great, however I dont see that exact option sad

Last edited by dginfoprojekt (2023-12-28 15:41:31)


Lorem ipsum dolorosa...

Offline

#4 2023-12-27 13:52:53

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: One more question - auto create user when incoming mail create ticket

Sorry, I thought this was already a feature in GLPI 10, but it looks like it was developed after the 10.0 beta releases so it was too late to add for 10.0 and was instead pushed back for 10.1.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB