homepage Welcome to WebmasterWorld Guest from 54.234.2.94
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
retrieve mail in php
retrieving mail in php
Z_scorp




msg:1264387
 4:13 am on May 3, 2006 (gmt 0)

hi,

can some plz tell me how to retrive mail in php.
if you could post me code that would be great.

thanx

 

dreamcatcher




msg:1264388
 6:47 am on May 3, 2006 (gmt 0)

[webmasterworld.com...]

dc

Z_scorp




msg:1264389
 7:10 am on May 3, 2006 (gmt 0)

hi,

i did not mean to send mail.
i mean how to retrive mail using php code.

thanx

Romeo




msg:1264390
 11:55 am on May 3, 2006 (gmt 0)

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.

Kind regards,
R.

jatar_k




msg:1264391
 4:05 pm on May 3, 2006 (gmt 0)

Welcome to WebmasterWorld Z_scorp,

have you looked at this
[php.net...]

hakre




msg:1264392
 7:46 am on May 4, 2006 (gmt 0)

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]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved