PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old January 15th, 2003, 11:26 AM
milanvla milanvla is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 21 milanvla User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 54 m 25 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old January 15th, 2003, 11:37 AM
jpenn jpenn is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Washington, DC
Posts: 317 jpenn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 3 sec
Reputation Power: 6
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.




Reply With Quote
  #3  
Old January 15th, 2003, 11:55 AM
milanvla milanvla is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 21 milanvla User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 54 m 25 sec
Reputation Power: 0
Ok,

but how to do that with that pipe.
where is that SMTP set up?

Thank you

Reply With Quote
  #4  
Old January 15th, 2003, 12:07 PM
jpenn jpenn is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Washington, DC
Posts: 317 jpenn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 3 sec
Reputation Power: 6
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...

Reply With Quote
  #5  
Old January 15th, 2003, 12:29 PM
milanvla milanvla is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 21 milanvla User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 54 m 25 sec
Reputation Power: 0
Thank you
It helps a lot!

Regards

Milan

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > how to start php script on email comes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway