This is a discussion on Incoming E-Mail within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hello. First of all, you are all more knowledgeable than me, and I would be EXTREMELY grateful for your help. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello.
First of all, you are all more knowledgeable than me, and I would be EXTREMELY grateful for your help. I need a script that does the following: Automatically logs into a particular e-mail address, reads the subject heading in each message (which will be a different e-mail address) and forwards the messages on to the appropriate address. I've looked at IlohaMail and some of the other similar apps to try to figure out how to do it on my own, but honestly it's all beyond my comprehension. I don't expect anybody to just present me with complete code to do the job (although I'd love it if you did!), but if somebody could give me a basic step-by-step of what I need to do to make it happen (i.e, "first you connect to server, check out these functions, then you read the e-mail, check out these functions" etc), I would appreciate it greatly. Thanks! |
|
|||
|
"Tim McGurk" <nicetim33@yahoo.com> wrote in message news:12nb725mgcajj4a@corp.supernews.com... > Hello. > > First of all, you are all more knowledgeable than me, and I would be > EXTREMELY grateful for your help. > > I need a script that does the following: > > Automatically logs into a particular e-mail address, reads the subject > heading in each message (which will be a different e-mail address) and > forwards the messages on to the appropriate address. > > I've looked at IlohaMail and some of the other similar apps to try to > figure out how to do it on my own, but honestly it's all beyond my > comprehension. > > I don't expect anybody to just present me with complete code to do the job > (although I'd love it if you did!), but if somebody could give me a basic > step-by-step of what I need to do to make it happen (i.e, "first you > connect to server, check out these functions, then you read the e-mail, > check out these functions" etc), I would appreciate it greatly. > > Thanks! > Hi Tim, Outlook Express (The default email program that comes with Windows) does what you need. Look under Tools > Message Rules. Andy |
|
|||
|
"Tim McGurk" <nicetim33@yahoo.com> wrote in message
news:12nb725mgcajj4a@corp.supernews.com... > Hello. > > First of all, you are all more knowledgeable than me, and I would be > EXTREMELY grateful for your help. > > I need a script that does the following: > > Automatically logs into a particular e-mail address, reads the subject > heading in each message (which will be a different e-mail address) and > forwards the messages on to the appropriate address. > > I've looked at IlohaMail and some of the other similar apps to try to figure > out how to do it on my own, but honestly it's all beyond my comprehension. > > I don't expect anybody to just present me with complete code to do the job > (although I'd love it if you did!), but if somebody could give me a basic > step-by-step of what I need to do to make it happen (i.e, "first you connect > to server, check out these functions, then you read the e-mail, check out > these functions" etc), I would appreciate it greatly. > > Thanks! > > Tim, You will probably want to download one of the php mail handling classes ( from http://www.phpclasses.org/browse/class/2.html ) to do what you want. 1) if you can, find a class that can read from and post to a mailbox. 2) if not then find a class that does each and use both 3) read in a message 4) extract the email address from the subject line 5) create/alter the From: line 6) send back out 7) loop back to 3 Actually reading mailboxes is easy, it's dealing with messages that can be mulitpart/mime encoded that takes a little bit more work. Norm -- FREE Avatar hosting at www.easyavatar.com |
|
|||
|
Correction below:
-- FREE Avatar hosting at www.easyavatar.com "Norman Peelman" <npeelman@cfl.rr.com> wrote in message news:MMydh.8651$yj1.6877@tornado.tampabay.rr.com.. . > "Tim McGurk" <nicetim33@yahoo.com> wrote in message > news:12nb725mgcajj4a@corp.supernews.com... > > Hello. > > > > First of all, you are all more knowledgeable than me, and I would be > > EXTREMELY grateful for your help. > > > > I need a script that does the following: > > > > Automatically logs into a particular e-mail address, reads the subject > > heading in each message (which will be a different e-mail address) and > > forwards the messages on to the appropriate address. > > > > I've looked at IlohaMail and some of the other similar apps to try to > figure > > out how to do it on my own, but honestly it's all beyond my comprehension. > > > > I don't expect anybody to just present me with complete code to do the job > > (although I'd love it if you did!), but if somebody could give me a basic > > step-by-step of what I need to do to make it happen (i.e, "first you > connect > > to server, check out these functions, then you read the e-mail, check out > > these functions" etc), I would appreciate it greatly. > > > > Thanks! > > > > > > Tim, > You will probably want to download one of the php mail handling classes > ( from http://www.phpclasses.org/browse/class/2.html ) to do what you want. > > 1) if you can, find a class that can read from and post to a mailbox. > 2) if not then find a class that does each and use both > 3) read in a message > 4) extract the email address from the subject line > 5) create/alter the To: line <---- corrected! > 6) send back out > 7) loop back to 3 > > Actually reading mailboxes is easy, it's dealing with messages that can be > mulitpart/mime encoded that takes a little bit more work. > > Norm > -- > FREE Avatar hosting at www.easyavatar.com > > > |
|
|||
|
Thanks Norman!
I'll give it a look... "Norman Peelman" <npeelman@cfl.rr.com> wrote in message news:qjGdh.13983$%u3.6241@tornado.tampabay.rr.com. .. > Correction below: > > -- > FREE Avatar hosting at www.easyavatar.com > "Norman Peelman" <npeelman@cfl.rr.com> wrote in message > news:MMydh.8651$yj1.6877@tornado.tampabay.rr.com.. . >> "Tim McGurk" <nicetim33@yahoo.com> wrote in message >> news:12nb725mgcajj4a@corp.supernews.com... >> > Hello. >> > >> > First of all, you are all more knowledgeable than me, and I would be >> > EXTREMELY grateful for your help. >> > >> > I need a script that does the following: >> > >> > Automatically logs into a particular e-mail address, reads the subject >> > heading in each message (which will be a different e-mail address) and >> > forwards the messages on to the appropriate address. >> > >> > I've looked at IlohaMail and some of the other similar apps to try to >> figure >> > out how to do it on my own, but honestly it's all beyond my > comprehension. >> > >> > I don't expect anybody to just present me with complete code to do the > job >> > (although I'd love it if you did!), but if somebody could give me a > basic >> > step-by-step of what I need to do to make it happen (i.e, "first you >> connect >> > to server, check out these functions, then you read the e-mail, check > out >> > these functions" etc), I would appreciate it greatly. >> > >> > Thanks! >> > >> > >> >> Tim, >> You will probably want to download one of the php mail handling > classes >> ( from http://www.phpclasses.org/browse/class/2.html ) to do what you > want. >> >> 1) if you can, find a class that can read from and post to a mailbox. >> 2) if not then find a class that does each and use both >> 3) read in a message >> 4) extract the email address from the subject line >> 5) create/alter the To: line <---- corrected! >> 6) send back out >> 7) loop back to 3 >> >> Actually reading mailboxes is easy, it's dealing with messages that can >> be >> mulitpart/mime encoded that takes a little bit more work. >> >> Norm >> -- >> FREE Avatar hosting at www.easyavatar.com >> >> >> > > |
![]() |
| Thread Tools | |
| Display Modes | |
|
|