Difference between revisions of "Chewie71-Notes"

(Adding Work in Progress Template and Category: Community Sandbox)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<source>
+
{{WIP}}
#selectMailbox
+
 
def sm(user)
+
[[Category:Community Sandbox]]
  $cmdin.puts("sm #{user}")
 
  $cmdout.each do |line|
 
    if line.include?("mailbox:")
 
      return
 
    elsif line.include?("NO_SUCH_ACCOUNT")
 
      $logger.fatal(line)
 
      puts "EXITING:: #{line}"
 
      exit
 
    else
 
      $logger.fatal(line)
 
      puts "UNKNOWN ERROR: #{line}"
 
      exit
 
    end
 
  end
 
end
 
</source>
 

Latest revision as of 00:31, 26 August 2008

Jump to: navigation, search