New topic in Networking: smtp and server down - smtp.lasterrorcode
Goofie - Wed Apr 30, 2008 2:42 pm <http://forums.realsoftware.com/viewtopic.php?t=22139> Maybe I'm missing something. But if the server is down, will the smtp.lasterror be =0 or not? How do i check for the server the be alive. My code doesn't protest for the server not being around when sending mail. Code:SMTP.SendMail if SMTP.LastErrorCode<>0 Then  '... i'm unhappy else  '... i'm happy end if
-- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
