Learning On Demand

Learning anything from anywhere

5 Comments

chuks Said,
August 12th, 2008 @3:03 pm  

hello,
i read your tutorial and it was nice. i was wondering if there is a way to test the php mail function on a web sever. i tried to use a mailing scipt on my new cheap fashion school website to recieve email. the message code is executed fine and sent message is displayed. but if i check my inbox i dont see any message. i just dont know why.

mygif
alamster Said,
August 12th, 2008 @3:09 pm  

@ chucks

agrosoft only good for localhost only, it means you must list your domain in hosts file and set it to 127.0.0.1 as address to solve restriction in relayhost.

mygif
dhani Said,
December 15th, 2008 @6:02 pm  

with this script

<?php
$mbox = imap_open(“{localhost:110}INBOX”, “skynet”, “jloisa”)
or die(“can’t connect: ” . imap_last_error());

$list = imap_list($mbox, “{localhost:110}”, “*”);
if (is_array($list)) {
foreach ($list as $val) {
echo imap_utf7_decode($val) . “\n”;
}
} else {
echo “imap_list failed: ” . imap_last_error() . “\n”;
}

imap_close($mbox);
?>

i found error below :

Warning: Couldn’t open stream {localhost:110}INBOX in c:\apache\htdocs\program\tes.php on line 2

Fatal error: Maximum execution time of 30 seconds exceeded in c:\apache\htdocs\program\tes.php on line 2

please help me…!
what happen with the script? any wrong scipt?

thank’s

mygif
Gayan Said,
January 22nd, 2010 @9:36 am  

I try your tutorial and it was very good. Thank you very much for the information.

mygif
Pingback & Trackback
Leave Your Comments Below

Please Note: All comments will be hand modified by our authors so any unsuitable comments will be removed and you comments will be appreared after approved