Email not picked up

ano0810's picture

Hello,

 

I am facing a problem with the email not being automatically picked up from a mail address. The email gets picked up once I delete the application and add it up back again.

The mail server is POP3

Poll interval 60,000 ms

Poll size 1

 

Does someone have a solution? 

epetrova's picture

where can't you pick up  an

where can't you pick up  an e-mail?

Thanks,
Evgenia

asianDev's picture

hmm.. You could also try a

hmm.. You could also try a .forward file which pipe the email to your php script and then do a php://stdin to read in from the pipe, and then use a parser to parse everything you needed from the email.

 

Here is exactly what will happen:

-email comes in to a mail server, and it will automatically look for a .forward file and if it's found it will found the command inside the .forward file.

-inside the .foward file you pipe the email content into your php script, and then you code should take care of the rest