Hello
I have been trying to setup IMAP for mail reply.
First Idont think I have managed and second I dont really understad where the replies will end up, I guess its in the notes somewhere ? please clarify for a dull person 🙂
RFTM
Search for "reply to emails"
I did 🙁
is there a way to see if it really connects to the imap server?
First, check that CRON is running (admin screen).
If imap connection fails, you'll see error message in log file :
2015-06-08 08:55:12.838 => 0.002 ===== TRACE ===== Cron::run() - Error on checkEmails()
2015-06-08 08:55:42.876 => 30.039 ** ERROR ** ERROR **
2015-06-08 08:55:42.879 => 0.002 ** ERROR ** on file 'D:wwwprojeqtorV5.0modelImapMailbox.php' at line (82)
2015-06-08 08:55:42.881 => 0.002 ** ERROR ***** cause = imap_open(): Couldn't open stream imap.test.ko
2015-06-08 08:55:42.883 => 0.002 ===== TRACE ===== Cron::run() - Error on checkEmails()
Well, I did not have the imap extention enabled but after enabling imap there is an even bigger problem.
Cron stops abnormaly after approxinately the email input cron delay time (I'w tried 10-60 sec)
Nothing more in the log except stoped abnormaly.
Does crate ERROR files in the cron folder though.
Do ERROR files contain message ?
Do you have any error logged in php or apache log ?
File is empty 0 bytes
PHP LOG
11-Jun-2015 09:24:24 Europe/Stockholm] PHP Fatal error: Class 'Ticket
' not found in /var/www/html/model/Cron.php on line 555
Apache log
[:error] [pid 1658] [client 185.19.249.250:51355] PHP Fatal error: Class 'Ticketrn' not found in /var/www/html/model/Cron.php on line 555
It seems you received extra not visible caracters in mails (more possible line breaks)
Could you try and add 4 line before line 555 in /model/Cron.php, like this ?
$arrayFrom=array("n","r"," ");
$arrayTo=array("","","");
$class=str_replace($arrayFrom, $arrayTo, $class);
$id=str_replace($arrayFrom, $arrayTo, $id);
$obj=new $class($id);
It stoped the Cron to abnormaly stop 🙂
Still need to figure out how to configure the mail read part , no errors are shown but no replies received.
no
no
no
;(
In Email section, define "'reply to' email when sending mails" to fit IMAP mailbaox.
In CRON section, define IMAP host as connection string to this IMAP mailbox. Format is (for instance for GMAIL) "{imap.gmail.com:993/imap/ssl}INBOX"
Also define corresponding user/password to IMAP mailbox.
Then restart CRON (these changes in parameters are not taken into accout until CRON is restarted)
Then, when an email is send from Projeqtor, receiver can "reply to" this email, adding a response (original email must be kept in respons).
The response will automatically be inserted as note in the corresponding item.
check 🙂 but no cigar 🙁