PHP and connection to mail account
| From: | Aras | Date: | Wed, 13 Dec 2006 14:16:07 +0000 |
| Subject: | PHP and connection to mail account | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-245799@lists.php.net to get a copy of this message | ||
Forward the e-mail address to a PHP file, through forwarders in your system
(depends on the mta, how and where)
Than design a php file to read from php://stdin
It will read the mails once they are received.
--Aras
-----Original Message-----
From: Angelo Zanetti [mailto:angelo@zlogic.co.za]
Sent: Wednesday, December 13, 2006 4:18 PM
To: PHP List
Subject: [PHP] PHP and connection to mail account
Dear All.
Do u know if its possible with PHP to receive a mail or connect to a
mail box and do something with an incomming email ? I see there is that
imap_open() but also there are sockets.
Basically I need to connect to a mailbox and then when a mail is
received it must take that mail and do something with the attachment
which I know how to do and is not important to this question.
Please maybe advise as to what the best way is and also if you have
experienced difficulties with a certain way.
Thanks in advance.
--
------------------------------------------------------------------------
Angelo Zanetti
Systems developer
------------------------------------------------------------------------
*Telephone:* +27 (021) 469 1052
*Mobile:* +27 (0) 72 441 3355
*Fax:* +27 (0) 86 681 5885
*
Web:* http://www.zlogic.co.za
*E-Mail:* angelo@zlogic.co.za <mailto:angelo@zlogic.co.za>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php