Forum

IMAP Mail settings
 
Notifications
Retirer tout

IMAP Mail settings

12 Posts
2 Utilisateurs
0 Reactions
21.4 {numéro}K Vu
Cezary Marzec
(@c-doe)
Posts: 10
Active Member
Début du sujet
 
[#2338]

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 🙂


 
Posté : 4 Juin PM 17:066
(@babynus)
Posts: 14952
Membre Admin
 

RFTM

Search for "reply to emails"


 
Posté : 4 Juin PM 17:066
Cezary Marzec
(@c-doe)
Posts: 10
Active Member
Début du sujet
 

I did 🙁

is there a way to see if it really connects to the imap server?


 
Posté : 4 Juin PM 18:066
(@babynus)
Posts: 14952
Membre Admin
 

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()


 
Posté : 8 Juin AM 10:066
Cezary Marzec
(@c-doe)
Posts: 10
Active Member
Début du sujet
 

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.


 
Posté : 8 Juin PM 12:066
(@babynus)
Posts: 14952
Membre Admin
 

Do ERROR files contain message ?
Do you have any error logged in php or apache log ?


 
Posté : 11 Juin AM 10:066
Cezary Marzec
(@c-doe)
Posts: 10
Active Member
Début du sujet
 

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


 
Posté : 11 Juin AM 11:066
(@babynus)
Posts: 14952
Membre Admin
 

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);

 
Posté : 11 Juin PM 12:066
Cezary Marzec
(@c-doe)
Posts: 10
Active Member
Début du sujet
 

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.


 
Posté : 11 Juin PM 14:066
Cezary Marzec
(@c-doe)
Posts: 10
Active Member
Début du sujet
 

no
no
no

;(


 
Posté : 11 Juin PM 14:066
(@babynus)
Posts: 14952
Membre Admin
 

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.


 
Posté : 12 Juin PM 13:066
Cezary Marzec
(@c-doe)
Posts: 10
Active Member
Début du sujet
 

check 🙂 but no cigar 🙁


 
Posté : 12 Juin PM 13:066
Share:
Retour en haut