This topic is locked
[SOLVED]

 EmailReader-Template

1/21/2014 6:27:16 AM
PHPRunner General questions
T
taumic author

Hello,
I have purchased and installed the EmailReader-Template.

In the "Mail Server" I've entered the data from my e-mail server.
Now how do I get the emails from the server and upload them to the table "Mail Messages"?

Is there somewhere a manual for the EmailReader-Template

Sorry, probably a silly question?
Michael

Sergey Kornilov admin 1/21/2014

An excerpt from EmailReader template registration email. Bullet #4 is what you looking for.

Configuration


  1. Enable imap extension in php.ini
  2. Proceed to mail_settings table and modify path to store attachments. This can be either relative or absolute path. Make sure web server user has write permissions on that folder.
  3. Proceed to email_servers table and add one or more pop3/imap servers. Interval between email checks is set in minutes.
  4. Schedule a cron job to run getmail.php every five or so minutes. If your project resides at http://yourwebsite/emailproject the URL to be scheduled is http://yourwebsite/emailproject/getmail.php
    If you are not sure how to do that open a free account with monitoring service like https://www.montastic.com/ and add http://yourwebsite/emailproject/getmail.php URL to be pinged every 30 minutes.

T
taumic author 1/21/2014

Thank you for answering Sergey,
I get following error:



Warning: Unexpected character in input: '\' (ASCII=92) state=1 in D:\xampplite\htdocs\EmailReader\getmail.php on line 35
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in D:\xampplite\htdocs\EmailReader\getmail.php on line 35
Parse error: syntax error, unexpected T_STRING in D:\xampplite\htdocs\EmailReader\getmail.php on line 35


Is there perhaps an example of an entry of a mail Server?
Michael

Sergey Kornilov admin 1/21/2014

Mail server setup is the same as any email client where you add POP3 or IMAP account. This might be something different like XAMPP configuration or version of PHP.
What version of PHP do you use?

Does it work for you with PHPRunner built-in server?
If more help is required post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

T
taumic author 1/29/2014

EmailReader template requires PHP 5.3, because the code uses namespaces.
Thanks to the fantastic PHPR-Support
Michael