Onedrive emails stopping email to ticket

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
heskymcheskface
Posts: 3
Joined: Fri May 06, 2022 11:24 am

Onedrive emails stopping email to ticket

Post by heskymcheskface »

Hello,

We have been using Hesk helpdesk for a few months with our reprographics department and have noticed an issue with creating tickets form email.

Whenever a member of staff shares some files from OneDrive with the email address associated with hesk, the system will not create a ticket for it and stops creating tickets from email all together. The emails are of the type that reads

"Mr x has shared a file with you" and a link to open it in a blue box

When someone copies a link to a OneDrive file into a normal email it works fine.

if we manually remove the OneDrive emails from the mail box and restart the serve3r it will carry on creating tickets again.

Has anyone experienced this or know any way around it?

Thanks
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Onedrive emails stopping email to ticket

Post by Klemen »

It probably comes form a "no reply" email?

Those will be handled better in version 3.3.0, but for now you can manually allow them:

1. download and install Notepad++
2. open file /inc/pipe_functions.inc.php in Notepad++
3. find and delete this block of code (lines 437-411 in version 3.2.5):

Code: Select all

	// Check noreply email addresses
	if ( preg_match('/not?[\-_\.]?reply@/i', $tmpvar['email']) )
	{
		return true;
	}
4. save, upload and test
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
heskymcheskface
Posts: 3
Joined: Fri May 06, 2022 11:24 am

Re: Onedrive emails stopping email to ticket

Post by heskymcheskface »

Hello,

Thanks for the speedy reply.

I have implemented the change and restarted the server and will monitor to see if this solves the issue.

Thanks
heskymcheskface
Posts: 3
Joined: Fri May 06, 2022 11:24 am

Re: Onedrive emails stopping email to ticket

Post by heskymcheskface »

Morning,

Unfortunately this has not solved the issue. I have come back after the weekend and there are emails in the mail box that have not being converted into tickets, the oldest one of them being a OneDrive share again?

Thanks
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Onedrive emails stopping email to ticket

Post by Klemen »

Can you send a sample email that doesn't get processed to pop3test AT hesk DOT com?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply