alexistkd Posted March 8, 2014 Report Share Posted March 8, 2014 Hi i can get the reply using email working i dont see any error, i configured the department email handling as imap with correct settings but when i send email as client to the support email doesnt appears in support manager. thank you Quote Link to comment Share on other sites More sharing options...
0 Michael Posted March 8, 2014 Report Share Posted March 8, 2014 oh sorry I'm half asleep (Not a good excuse haha) you use that code for the emails not a cron. Go to: cpanel > > forwarder Then type the email eg: sales [@yourdomain.com] Then go to pipe to program: Put that code in it. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted March 8, 2014 Report Share Posted March 8, 2014 Can you check the logs please. Tools > Logs > Email. See if it's got any errors. Quote Link to comment Share on other sites More sharing options...
0 alexistkd Posted March 8, 2014 Author Report Share Posted March 8, 2014 thats the strange thing i get no error Quote Link to comment Share on other sites More sharing options...
0 alexistkd Posted March 8, 2014 Author Report Share Posted March 8, 2014 whats the best way to achieve this piping or imap Quote Link to comment Share on other sites More sharing options...
0 Michael Posted March 8, 2014 Report Share Posted March 8, 2014 I use piping and not had one issue yet. Quote Link to comment Share on other sites More sharing options...
0 alexistkd Posted March 8, 2014 Author Report Share Posted March 8, 2014 i tried that too i modified the /etc/aliases and same i have this: support: "|/usr/local/bin/php /home/user/public_html/portal/plugins/support_manager/pipe.php plugin/support_manager/ticket_pipe/index/1/" i change user for my username of course Quote Link to comment Share on other sites More sharing options...
0 Michael Posted March 8, 2014 Report Share Posted March 8, 2014 i tried that too i modified the /etc/aliases and same i have this: support: "|/usr/local/bin/php /home/user/public_html/portal/plugins/support_manager/pipe.php plugin/support_manager/ticket_pipe/index/1/" i change user for my username of course in your cPanel cron you just put: /usr/local/bin/php /home/user/public_html/portal/plugins/support_manager/pipe.php plugin/support_manager/ticket_pipe/index/1/ Also ensure your pipe.php is 0777 perms. Quote Link to comment Share on other sites More sharing options...
0 alexistkd Posted March 8, 2014 Author Report Share Posted March 8, 2014 yep i tried that too a cron job run every minute with that command i got this issue in the cron: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us" dir="ltr"> <head> <title>Blesta</title> <link rel="stylesheet" type="text/css" href="/home/streamin/public_html/portal/plugins/support_manager/app/views/errors/css/styles.css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <div class="program_error"> <h3>Oh noes!</h3> <div class="contents"> <p>SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND `date_sent` >= '2014-03-08 17:13:01')) AS `t_2131320703`' at line 1 on line <strong>124</strong> in <strong>/home/streamin/public_html/portal/lib/model.php</strong> <br /><br /><strong>Printing Stack Trace:</strong><br /><code>#0 /home/streamin/public_html/portal/lib/model.php(124): PDOStatement->execute(Array)<br /> #1 /home/streamin/public_html/portal/components/record/record.php(655): Model->query('SELECT COUNT(*)...', Array)<br /> #2 /home/streamin/public_html/portal/components/record/record.php(746): Record->fetch()<br /> #3 /home/streamin/public_html/portal/plugins/support_manager/models/support_manager_tickets.php(1077): Record->numResults()<br /> #4 /home/streamin/public_html/portal/plugins/support_manager/components/ticket_manager/ticket_manager.php(341): SupportManagerTickets->checkLoopBack(Array, 5, '5 minutes')<br /> #5 /home/streamin/public_html/portal/plugins/support_manager/components/ticket_manager/ticket_manager.php(317): TicketManager->sendBounceNotice(Object(MimeMailParser))<br /> #6 /home/streamin/public_html/portal/plugins/support_manager/controllers/ticket_pipe.php(38): TicketManager->processTicketFromEmail(Object(MimeMailParser))<br /> #7 /home/streamin/public_html/portal/lib/dispatcher.php(111): TicketPipe->index()<br /> #8 /home/streamin/public_html/portal/lib/dispatcher.php(24): Dispatcher::dispatch('/plugin/support...', true)<br /> #9 /home/streamin/public_html/portal/plugins/support_manager/pipe.php(25): Dispatcher::dispatchCli(Array)<br /> #10 {main}</code></p> </div> </div> </body> </html> Quote Link to comment Share on other sites More sharing options...
0 alexistkd Posted March 8, 2014 Author Report Share Posted March 8, 2014 got it, now its working thank you very much Quote Link to comment Share on other sites More sharing options...
0 alexistkd Posted March 8, 2014 Author Report Share Posted March 8, 2014 got it thanks Quote Link to comment Share on other sites More sharing options...
Question
alexistkd
Hi i can get the reply using email working i dont see any error, i configured the department email handling as imap with correct settings but when i send email as client to the support email doesnt appears in support manager.
thank you
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.