|
|
|
This example will let u take information from newsgroup with PHP..
try it.. so cool..
imap.php
<?php
$mbox = imap_open ("{information.binus.ac.id/nntp:119}forum.keluhan", "", "");
echo $mbox;
echo "<p><h1>Newsgroup in forum.keluhan</h1>\n";
$headers = imap_headers ($mbox);
for ($x=1; $x < count($headers); $x++) {
$idx = ($x-1);
echo "<a href=\"view.php?num=$x\">$headers[$idx]</a><br>";
}
imap_close($mbox);
?>
view.php
<?php
$mbox = imap_open ("{information.binus.ac.id/nntp:119}forum.keluhan", "", "");
echo $mbox;
$headers = imap_headers ($mbox);
echo "<p><h1>View " . $headers[$num-1] . " </h1>\n";
echo imap_fetchheader($mbox,$num);
echo "<BR><P>";
echo imap_body($mbox,$num);
?> |
|
| A PHP based webmail at : http://www.horde.org/imp Categories : Email, IMAP, PHP, Complete Programs | | | imap_sort Categories : IMAP, Email, PHP, PHP Functions | | | Data Retrieve from mailbox and generate the SQL Syntax Categories : PHP, IMAP, Mail | | | imap_subscribe -- Subscribe to a mailbox Categories : PHP, PHP Functions, IMAP, Email | | | imap_headerinfo -- Read the header of the message Categories : PHP, PHP Functions, IMAP | | | Query2Report : Generating Html, Pdf and Csv Reports from SQL Query Categories : PHP, PHP, HTML, PDF, Excel | | | imap_append -- Append a string message to a specified mailbox Categories : PHP, PHP Functions, IMAP, PHP Functions | | | Convert text to 'quoted printable' without the IMAP package installed. Categories : PHP, Mail, IMAP | | | PHP3 FormMail This script sends E-mail using PHP3 function mail(). Body of
message is from text file that you create. Easily modified. Categories : PHP, Email, IMAP | | | Basic Authentication with sessions Categories : PHP, Beginner Guides, Authentication, Form Processing, Sessions | | | Call a cgi from php with include function Categories : PHP, CGI | | | Displaying records of database in more than one page (paging) Categories : Databases, MySQL, PHP | | | Latitude-Longitude to Miles Categories : PHP, Utilities, Math. | | | Message of the Day - Random Message (Needs MySQL!) Categories : Databases, HTML and PHP, PHP, MySQL | | | Retrieve text from table and email to your e-
address in pipe delimited format. Categories : PHP, MySQL | |
|
|
|