|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
how to start php script on email comes
Hi
I do not konw how to do this: When new e-mail message receives on mail server I need to run scrip (php script) wich reads message and add info to database. How to do this. I can write script but I do not know hot to start it on evry single e-mail. Thanks a lot |
|
#2
|
|||
|
|||
|
You can pipe email messages from SMTP to a PHP script; meaning whenever an email is recieved by the SMTP server, the email will be sent to a PHP script for processing. The mail message itself is sent with all the headers and so forth to the script in one big chunk or flat data stream.
You would need to have root access to the server to set up the SMTP to pipe the messages to your script...
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
|
#3
|
|||
|
|||
|
Ok,
but how to do that with that pipe. where is that SMTP set up? Thank you |
|
#4
|
|||
|
|||
|
Here is a little article or example of how to do this (not provided by me) -> http://gvtulder.f2o.org/?page=4
Give that a shot and post back here of you can't get it to work... |
|
#5
|
|||
|
|||
|
Thank you
It helps a lot! Regards Milan |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > how to start php script on email comes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|