Hi John, On Thursday 23 October 2003 08:39, John Vincent Mombay wrote: > I was wondering > if there was a way to read incoming messages from the phone and display > it on the web. I have this requirement to (1) send SMS through our web > portal. ( this was the easy part) (2) receive and direct the incoming > messages to (a) web portal, (b) email and (c) the receiving party's real > phone. If anyone got an idea on this I would greatly appreciate it. > Thank you.
If you use PHP, there is a library of email related functions (IMAP, NNTP, POP3). In Redhat 8/9, this is known as PHP-IMAP. I use this function to forward SMS messages to mailbox and also read mailbox in order to send email as SMS. In Redhat, the webserver install menu asked if we want to install PHP-IMAP. On other system probably we need to recompile PHP manually to include IMAP (need the source, named c-client, which is available from ftp://ftp.washington.edu/imap/). Also, there is PHP mail() function which doesn't need IMAP (but need MTA to be installed). The mail() function is only for sending email. rudy
