ACCORD5
Add a reply

ACCORD5 Company Forums » Pre-Sales Questions

Piping issue

 
  • Started 6 years ago by paco
  • 6 posts in this topic
  • Latest reply from Anonymous
  1. paco

    paco
    Member

    Hello..

    I just downloaded the aplication and installed it. First of i want to congratulate with the excellent work. :-)
    But i do have a question, regarding this. I have some trouble with setting up a cronjob.

    Question 1:
    First of, i would like to know what the difference is between setting up the cronjob using the pipe.php file and /or the pop3.php file. Can you clarify this for me, plz?

    Question 2:
    In both cases i get a similar error message. When i paste this in my browser to try it:
    http://mydomains.com/sources/pop3.php OR http://mydomains.com/sources/pipe.php

    I get the following message:
    #!/usr/bin/php -q
    Warning: require_once(Mail/mimeDecode.php) [function.require-once]: failed to open stream: No such file or directory in /www/hosting/mydomains.com/includes/class_mailparse.php on line 30

    Fatal error: require_once() [function.require]: Failed opening required 'Mail/mimeDecode.php' (include_path='.:/usr/share/pear:/usr/share/php') in /www/hosting/mydomains.com/includes/class_mailparse.php on line 30

    I get this from this URL:
    http://docs.accord5.com/Email_Piping

    Hoping that some one can help me.
    Many thanks in advance..
    Cheers,
    Paco

    Pd. The V2.0 (beta) looks VERY nice.. Any idea when the first stable release will come out?

    Posted 6 years ago #
  2. DJ

    DJ
    Project Lead, Trellis Desk

    Hello Paco,

    1) Piping (pipe.php) is preferred because email messages are processed immediately when they come into your server. However, your web server has to also be running as your mail server. POP3 (pop3.php) is an alternate method that checks a POP3 mailbox, downloads new emails, and processes them. For this method, you'll have to set up a cron job to run pop3.php every X minutes. It's not as instant as piping, but sometimes is the only option (especially if your email is on a remote server like GMail, etc).

    2) Your server is missing the PEAR mimeDecode package. Ask your host if they can install it. http://pear.php.net/package/Mail_mimeDecode/

    And we don't have an ETA for TD2, but we are working on it as fast as we can! Keep an eye on the blog / twitter!

    Posted 6 years ago #
  3. paco

    paco
    Member

    Dear DJ.
    Excellent, many thanks for your reply.
    Allthough i must confess i am quite new to this :-(
    Regarding the first issue.
    The PEAR mimeDecode package is installed. Regarding the pipe.php so i don´t need to do anything then? When a client replies to an email it will processed autmaticly than?
    Regarding the pop3.php i DO have a doubt. How many times per hour should this be executed than?
    So from what i understand the 2 files will execute than, the pipe.php and the pop3.php (every "n" minutes, right?)
    Can i use than the same (email) account for all the departments?
    Hoping to hear from you soon again.
    Regards,
    Paco

    Posted 6 years ago #
  4. DJ

    DJ
    Project Lead, Trellis Desk

    Hello again Paco,

    You only need to use one method. Either pipe.php OR pop3.php. If you can get pipe.php to work properly then I would recommend it over pop3.php.

    As much as I'd love to help, email piping / POP3 can be a tricky setup. If you need further assistance, feel free to purchase a Support Plan to receive official support.

    Thanks!

    Posted 6 years ago #
  5. User has not uploaded an avatar

    QWEbie
    Member

    Thanks DJ...

    I will share my own experience in making Email Piping work...

    cPanel Users (that have the ability to install PEAR Packages)

    0) Setup your department to accept Guests Email, Enable Piping etc...

    1) Make sure pipe.php is 0755 (File Manager >>)

    2) At your cPanel main screen, go to Software/Services >> PHP PEAR Packages

    2a) Take note of the following:
    Location of Your PHP Extension(s) and Application(s)

    ------> Path: /home/yoursite/php

    3) Under "Find a PHP Extensions and Applications Package" Enter "mime" in the search box, click Go/Search. The package should show up, click Install
    4) After it has been installed, add the Forwarders as per Accord5 documentation. Try email piping and see whether it works. If the same error happens again (which it did to me, went crazy over this)

    5) Go to File Manager, and go to trellis/includes/
    Choose to edit class_mailparse.php with the Code Editor

    6) Go to Line 30
    You should see the following:
    require_once('Mail/mimeDecode.php');

    change it to the following by adding your PHP Extension(s) and Application(s) path from (2a)

    require_once('/home/yoursite/php/Mail/mimeDecode.php'); (Make sure there is a " / " before Mail)

    Save the file.

    7) Try the email piping, it should work now. Mine did.

    I don't know whether its a good idea to edit Line 30, if anyone has a better solution, please do let me know. Hope this helps =)

    Posted 5 years ago #
  6. User has not uploaded an avatar

    ChDUP
    Member

    Hi, have the same problem.
    After entering the good valid adress for mimeDecode.php, I have another error :
    "SAFE MODE Restriction in effect. The script whose uid is 841 is not allowed to access /usr/lib/php/PEAR.php"
    I have access to CPanel, but I don't know how to stop safe_mode.

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.