eTicket Community
September 02, 2010, 03:15:06 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Got Bug? Please use the new tracker at http://www.eticketsupport.com/tracker
 
   Home   Help Search Login Register  
Quick Register
Choose username  Email                 
Verify password    Choose password 
I agree to Registration Agreement
Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] Retrieve Mail POP3 Not Possible  (Read 4676 times)
0 Members and 1 Guest are viewing this topic.
Jesko
New Member
*

Karma: +0/-0
Offline Offline

Posts: 1


« on: November 12, 2008, 01:15:10 AM »

Hi,
first: thank you very much for this great ticketing software!
But I have like many others a problem with catching mail from mail account. I use a server hosted by All-Inkl.com. And the Mail-Adresses are all like: support@ticketsystem.mydomain.de.
So, I think pipe.php is not possible. And I tried the The POP3 Method. I think the sentence in documentation "By default mail will only be fetched on admin or staff login, to increase fetch frequency you must use a crontab or cronjob." is not correct for all accounts.

What I did:
Categories:
Name: Support
Pop3 Host: pop3.ticketsystem.mydomain.de
Pop3 Username: xxxxx
Pop3 Password: xxxx
Email: support@ticketsystem.mydomain.de

So, I tought, it would catch the mail from this account but it does not.
So I tried:
1. to access the account with thunderbird mail. It worked.
2. troubleshooter.php. All looked fine for me. (see below)
3. tip in automail.php on line 123
$mbox = @imap_open('{'.$cat_row['pophost'].'/pop3/ssl/novalidate-cert}INBOX',$cat_row['popuser'],$cat_row['poppass']);
4. changed Pop3 Host: in
pop3.ticketsystem.mydomain.de
pop3.ticketsystem.mydomain.de:110
pop3.ticketsystem.mydomain.de/pop3
pop3.ticketsystem.mydomain.de:110/pop3
imap.ticketsystem.mydomain.de
imap.ticketsystem.mydomain.de:143
imap.ticketsystem.mydomain.de/imap
imap.ticketsystem.mydomain.de:143/imap
5. CHMOD for automail.php in 777

Did not installed a cron job so far. Because in documentation i read: "By default mail will only be fetched on admin or staff login, to increase fetch frequency you must use a crontab or cronjob."
So I logged in and out several times, but no tickets in main area.

I tryed the URL:
http://ticketsystem.mydomain.de/automail.php
with no error and changed back to
http://ticketsystem.mydomain.de/admin.php.
Finally, the tickets were now created!
So the sentence in the documentation may not be right for all accounts.

Greetings,
Jesko.

Background information:
Troubleshooter:

    * PHP version: 5.2.6 (Should be PHP 5.0.0 or above)
    * PHP Safe Mode is off
    * eTicket version: 1.7.3
    * Webserver: Apache
    * Database: MySQL 5.0.67-community-log (Should be MySQL 4.1 or above)
    * GD version: bundled (2.0.34 compatible)
    * Multibyte String is installed
    * iconv version: 2.4
    * IMAP is installed
    * Socket support enabled.
    * User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)
    * Character set: UTF-8
    * Link: http://ticketsystem.myaccount.de/troubleshooter.php

« Last Edit: March 11, 2009, 04:16:16 AM by Hummdis » Logged
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 601


In a world without fences, who needs Gates?


WWW
« Reply #1 on: November 12, 2008, 01:23:23 AM »

There is no reason for you to have changed the automail.php script.  I use the pop3 method to get our email and I did not have to make this change.  We actually pull email from two different email servers and it works fine.

What you changed were variables that are pulled from the categories of eTicket.  If you have different email accounts, then you need to create a different category for each so that eTicket knows it's to pull email from several accounts.

Line 120 to 124 on my automail.php looks like:

Code:
    while ($cat_row = mysql_fetch_array($cat_res)) {
        if ($cat_row['pophost']) {
            $mbox = @imap_open('{'.$cat_row['pophost'].'/pop3}INBOX',$cat_row['popuser'],$cat_row['poppass']);
if (!$mbox) { $mbox = @imap_open('{'.$cat_row['pophost'].'/pop3/notls}INBOX',$cat_row['popuser'],$cat_row['poppass']); }
           

Yours should look this way too if you created a new category for each mail account.

Does that resolve the problem for you?
Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Web Design - Freelance Website Design & IT Consulting
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 601


In a world without fences, who needs Gates?


WWW
« Reply #2 on: November 12, 2008, 12:07:04 PM »

Oh, I did want to add that I see this behavior *sometimes* and I think that my cron job is what's helping this from being a noticeable problem.

If you create the cron job, does that alleviate the problem?
Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Web Design - Freelance Website Design & IT Consulting
beven
Project Manager/Developer
Global Moderator
Super Member
*****

Karma: +12/-4
Offline Offline

Posts: 804


WWW
« Reply #3 on: November 21, 2008, 09:40:11 PM »

Yeah running the automailer on login will make your pages take forever to load.
Logged

Not to be confused with Bob Evans.
Ask not what eTicket community can do for you - ask what you can do for eTicket community.

Version 2 coming out shortly.
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 601


In a world without fences, who needs Gates?


WWW
« Reply #4 on: November 24, 2008, 05:21:41 AM »

As one quick side note, I setup the cron job to use wget on automailer.php.  I found that executing the file was hit and miss, but loading in the browser worked every time. Hence why I chose to use wget.  You can also use curl.  Here's what mine looks like:

Code:
# eTicket automailer.php get
*/5 * * * * wget -q -O /dev/null http://www.yourdomain.com/automail.php

That's been working for me for some time now.
Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Web Design - Freelance Website Design & IT Consulting
sserv
New Member
*

Karma: +0/-0
Offline Offline

Posts: 4


« Reply #5 on: January 29, 2010, 03:45:51 PM »

Hello,

I'm facing the same or similar issue.  my pop3 account is correct in category.  uid, pwd.  Still, e-mail replies are not picked up when I login as admin or rep.  when I run automail. php from web, it shows a blank page.  Please help.

regards
Logged
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 601


In a world without fences, who needs Gates?


WWW
« Reply #6 on: January 29, 2010, 06:56:11 PM »

See my post in this thread from November 24, 2008.

Read the thread before you post to it.  It saves everyone time.
« Last Edit: January 29, 2010, 06:57:48 PM by Hummdis » Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Web Design - Freelance Website Design & IT Consulting
eTicket Community
   

 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Problems Setting up POP3 Installation Help & Software Support jake46a 14 4346 Last post May 28, 2008, 09:44:35 AM
by IpEFiX
Need pop3 Settings in Automail.php file Installation Help & Software Support elavarasan 2 1517 Last post April 07, 2010, 04:55:30 AM
by Hummdis
POP3 Email Retrieval Installation Help & Software Support merchiston 11 2603 Last post October 01, 2009, 05:00:12 AM
by Hummdis
POP3 with SSL Feature Requests heid@agentsinaction.de 0 1573 Last post November 04, 2009, 10:54:07 PM
by heid@agentsinaction.de
POP3 configuration with exchange 2007 General Discussion cinghia84 1 705 Last post June 11, 2010, 11:05:17 AM
by Hummdis

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.201 seconds with 25 queries.

Google visited last this page Yesterday at 02:04:22 AM