|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-18 05:50 UTC] hholzgra at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 20:00:01 2025 UTC |
This example code works fine on PHP 3.0.16... $num=1; $link = imap_open($MAILSERVER,$PHP_AUTH_USER,$PHP_AUTH_PW); $header = imap_header($link,$num); echo "From: $header[fromaddress]<br>"; echo "To: $header[toaddress]<br>"; echo "Date: $header[Date]<br>"; echo "Subject: $header[Subject]<br><br>"; echo nl2br(imap_body($link,$num)); ...but on 4.0.1r2 the "imap_header" function returns only zero length strings. ./configure '--with-apxs=/opt/Apache/bin/apxs' '--with-mysql=/opt/Mysql' '--with-pgsql=/opt/Postgres' '--with-ldap=/opt/Ldap' '--with-imap=../../mail/imap-4.7c/c-client' '--with-config-file-path=/opt/Apache/conf' '--enable-track-vars' '--enable-magic-quotes' Thanks, Jeff