You are not logged in.
I have looked around for a setup configuration to create tickets via email.
Configured - receiver, but still doesn't work and errors out. I have looked all over the place, but have not found a solution with the error/authentication.
Go to Setup / Receivers / + ADD
Name = help@vista.com
Active = YES
Server = smtp.gmail.com
Connection Options = IMAP / SSL / / /
Port = 465
Connection String = {smtp.gmail.com:465/imap/ssl}
Login = help@vista.com
Password = xxxxx
Accepted Mail Archieve =
Refused Mail Archieve Folder =
Maximum Size of Each File Imported by the mails receiver = 2 MB
Use mail date, instead of collect one = NO
Use Reply-To as requester (when available) = NO
Add CC Users as an observer = NO
Comments =
Last edited by rcastillo (2022-06-14 22:52:04)
Offline
Error:
An error occurred trying to connect to collector.
Host doesn't allow connection.
Last edited by rcastillo (2022-06-02 10:16:07)
Offline
You have entered SMTP settings by mistake. Please use the following IMAP settings instead:
Name = help@vista.com
Active = YES
Server = imap.gmail.com
Connection Options = IMAP / SSL / / /
Incoming Mail Folder = Inbox
Port = 993
Connection String = {imap.gmail.com:993/imap/ssl}Inbox
Login = help@vista.com
Password = xxxxx
It should work now.
Offline
You are correct! We can close the case now. Wish GLPI members have example setting setups. This will help many out.
* Also - make sure that Gmail Email Account being used has IMAP enabled.
Settings [Rotary Button]
- See All Settings
- Forwarding and POP/IMAP
- IMAP Access: Enable IMAP
Thank you!
Offline
Wait ~
Actually - it works when tested..... but for some reason its not creating the ticket via email.
**UNLESS I press the BUTTON <Get Email Tickets Now> manually... hmm..
Offline
Wait ~
Actually - it works when tested..... but for some reason its not creating the ticket via email.
**UNLESS I press the BUTTON <Get Email Tickets Now> manually... hmm..
This sounds like something to do with the Rules for assigning a ticket via a mail collector or possibly an entity issue.
Offline
I am facing the same issue. It always works when I manually press the button <Get Email Tickets Now>. However, it never happens automatically.
I looked up some old forums regarding this and this is what I found:
In Setup --> Automatic Actions --> we need to configure Mailgate as below:
Run Fequency = 1 minute
Status = Scheduled
Run Mode = GLPI
Run Period = 0 --> 24
Number of days this action logs are stored = 30
Number of Emails to Retrieve = 10
Then also it does not work.
So, as per certain threads I looked up on GLPI forum, some cron setting need to be updated by using command "crontab -e" and changing Run Mode to "CLI". Since these threads are for older GLPI versions not sure how to make it work on latest GLPI version 10.0.0.1.
Any help in this regard to resolve this shall be highly appreciated. Thanks.
Last edited by dhsahay (2022-06-07 17:24:19)
Offline
Since may 30 2022 you must use Apps password authentification in gmail account (need to setup) , Apps les apps is block now
lifewire.com/get-a-password-to-access-gmail-by-pop-imap-2-1171882
Offline
Well, the apps-password is working, but doesn't do nothing with receiver-emails. Google does see it getting used. Sent an email, but still no ticket produced automatically.
Your app passwords
Name
Created
Last used
GLPI_Helpdesk
9:20 AM
9:22 AM
Last edited by rcastillo (2022-06-13 17:28:21)
Offline
Yeah GLPI mode is buggy, we need the CLI / cron job for mailgate [execute] for sure. Again I pressed <Execute Button> on Mailgate and the email/ticket was produced.
Please gives us the cron job command for mailgate execute.
Last edited by rcastillo (2022-06-13 17:28:54)
Offline
Does anybody know this answer?
Offline
I have fixed the issue! It was a bug to change "run frequency" on mailgate:
Run Frequency = 5 minutes
Status = Scheduled
Run Mode = CLI
#
My cron-job on server:
* * * * * apache /usr/bin/php /var/www/html/glpi/front/cron.php &>/dev/null
I can close this case now. happy ~
Offline