Jump to content

SQL Email Import


Dethman

Recommended Posts

Ill ask again in a different way,

 

Does any1 know any FREE tutorials on how to receive an email on an SQL table

using PHP/SQL?

 

The email is hosted on my server I just need to receive it and put it in a table with something like Subject, and message and date  thats all,

 

Thanx Brian Flores

Link to comment
https://forums.phpfreaks.com/topic/141882-sql-email-import/#findComment-742856
Share on other sites

Thought it would be use full, is there a special function that receives emails, like say hotmail allows you to check emails?

 

So what your after is this....

 

When an email arrives on your mail server you would like some information stored within a database?

 

PHP really isn't the best solution to the problem. Most MTAs however allow triggers of soughts that can execute shell scripts when mail arrives. Do you know what MTA you are using?

 

Another solution (save digging into your MTA's configuration) would be to simply execute a script via cron every 5 minutes or so, this script could then check your inbox via imap and act accordingly.

 

This really isn't a straight forward task.

Link to comment
https://forums.phpfreaks.com/topic/141882-sql-email-import/#findComment-742877
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.