Jump to content

automatically saving email to file.


poe

Recommended Posts

i currently receive a monthly email report from statcounter.com showing visitor traffic to my site : unique vistors, first time, page loads etc.

 

every month when i receive this email, i then manually take the data and post it to my webpage, storing it in a mysql database so i can then display the statistics on my own webpage.

 

it can be quite tedious doing this every month. (its not a lot to enter) but it is a real pain in the arse !

 

is there anyway to have the email sent to a php program (if possible ??) and have the php read through the body of the email, pulling out the info i need and automatically posting to the mysql db.

 

or is it possible to have a script read the email, and save the email body as a text or log file, which i can then read and post to mysql with php

 

thanks

chris

 

 

Link to comment
https://forums.phpfreaks.com/topic/167279-automatically-saving-email-to-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.