You are here: PHP Mailer problem « All PHP « IT news, forums, messages
PHP Mailer problem

Posted by rbystrianyk@gmail.com on 03/24/06 22:58

Hey all,

I'm trying to connect to a Microsoft Exchange server via PHP Mailer
that is being used by Mantis [bug tracking software]. I've tracked a
problem down to a class called class.smpt.php. There it makes a call
to get announcements and I'm guessing times-out or something and
never returns. I'm running on Windows XP. Any ideas???

Thanks!
Roman

# sometimes the SMTP server takes a little longer to respond
# so we will give it a longer timeout for the first read
// Windows still does not have support for this timeout
function
if(substr(PHP_OS, 0, 3) != "WIN")
socket_set_timeout($this->smtp_conn, $tval, 0);

print "announce ";

# get any announcement stuff
$announce = $this->get_lines();

print "[announce: $announce] "; <<< Never prints!!!

# set the timeout of any socket functions at 1/10 of a second
//if(function_exists("socket_set_timeout"))
// socket_set_timeout($this->smtp_conn, 0, 100000);

if($this->do_debug >= 2) {
echo "SMTP -> FROM SERVER:" . $this->CRLF . $announce;
}

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация