| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|retrieve mail in php|
retrieving mail in php
can some plz tell me how to retrive mail in php.
if you could post me code that would be great.
i did not mean to send mail.
i mean how to retrive mail using php code.
First you should be clear about "where" you want to retrieve mail from, and what you will do with these mails. Are you talking about a web-mail interface?
You need a basic underlying mail infrastructure: an accessible POP3 or IMAP mail service, where your incoming mails had to be delivered to, before you can start to retrieve anything.
If you have a working IMAP on your server, then you may look at the web-mail product [squirrelmail.org...] , which is written in PHP.
It is an Open Source project, so you can have a look at their code to get an idea on how they do it.
Welcome to WebmasterWorld Z_scorp,
have you looked at this
Z_scorp, do you mean that your php script is executed when a mail arrives at a certain mail address?
this can be done via a pipe, checkout some related threads here:
Trying to pipe email to php script [webmasterworld.com]
Can PHP recieve emails? [webmasterworld.com]
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved