Page 1 of 1

SMTP Piping local net Exchange 2013 on diff VM

Posted: Mon Apr 03, 2023 1:50 pm
by 123-admin
Script URL:
Version of script: 8.2.4
Hosting company: Local Server
URL of phpinfo.php: Local
URL of session_test.php: Local
What terms did you try when SEARCHING for a solution:
Searched Forum and HESK guidelines

Write your message below:

Dear all!

After a local installation of HESK on a WIN 22 Server with IIS an php installation the ticketing system is running fine.
I also managed to setup the SMTP mail functionality for internal and external mail transmission.

But I failed in setting up the SMTP piping for converting mails sent to our adress to a ticket.

I feel the HESK guideline to unpriceise for setting up the needed details.

I have changed the path in hesk_pipe.php to
define('HESK_PATH', "C:\inetpub\php\");

But I was not able to find, where to set the email adress for the guidelines point 5
Set up the email address to pipe data to the hesk_pipe.php file, for example to:
|/home/user/public_html/hesk/inc/mail/hesk_pipe.php

If smtp mailing is working, are there any other settings needed to be done for piping?
Is there a more detailed setup guideline for this function?

I am appreciating your support and your help, brgds

Alex

Re: SMTP Piping local net Exchange 2013 on diff VM

Posted: Mon Apr 03, 2023 2:59 pm
by Klemen
Direct email piping is only one of three ways you can use for email-to-ticket functionality:
https://www.hesk.com/knowledgebase/?article=48

Setting up direct email piping depends on the server (it's up for the mail server to do that, it cannot be done from within Hesk). Changing HESK_PATH should not be done in any case.

I recommend that you try some other way of email to ticket (see above article again), for example using IMAP fetching:
https://www.hesk.com/knowledgebase/?article=91

Re: SMTP Piping local net Exchange 2013 on diff VM

Posted: Tue Apr 04, 2023 4:46 am
by 123-admin
Good morning Klemen

Thx for your reply

Imap is disabled on my Hesk Setup due to not compiled with php?


Any settings to be done to activate? IMAP would be fine for me.

Brgds

Alex

Re: SMTP Piping local net Exchange 2013 on diff VM

Posted: Tue Apr 04, 2023 11:19 am
by Klemen
IMAP functions need to be enabled in your PHP installation; this is not something that can be done from within Hesk.

Try searching Google for "IIS PHP enable IMAP" or similar for guides on how to do that.

Alternatively, you can use POP3 fetching. The pros/cons are explained in the article I linked to.

Re: SMTP Piping local net Exchange 2013 on diff VM

Posted: Tue Apr 04, 2023 1:38 pm
by 123-admin
Dear Klemen!

Thanks for the hint, I got the IMAP button active, but now php is struggeling to my self signed certificate.

Its an internal server for our employees so no external connection. Is there a possibility to overcome this certificate error?

Thx and brgds

Alex

Re: SMTP Piping local net Exchange 2013 on diff VM

Posted: Tue Apr 04, 2023 2:32 pm
by Klemen
Select the "Do not validate server certificates" option when setting up IMAP in Hesk admin.