Home > php教程 > php手册 > 一个简单的(也可以说是不完全的)IMAP类和应用。(三)

一个简单的(也可以说是不完全的)IMAP类和应用。(三)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-21 09:12:55
Original
1612 people have browsed it

showbody_imap.php



Biz2Biz WebMail System



include("imap_new.php");
$imap=new myimap;
$imap->hostname="192.168.100.13";
$imap->port=110;
$imap->username=$usr;
$imap->userpwd=$pwd;
$imap->open();
$mail_structure=$imap->get_structure($msg);
//echo gettype($mail_structure->parts);
//echo count($mail_structure->parts);
$imap->proc_structure($mail_structure,"",$msg);

@$imap->close();
?>



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Get mail from gmail account using php IMAP
From 1970-01-01 08:00:00
0
0
0
Problem with php imap receiving qq mail
From 1970-01-01 08:00:00
0
0
0
vim key mapping failed
From 1970-01-01 08:00:00
0
0
0
Solve a sentence of vim code
From 1970-01-01 08:00:00
0
0
0
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template