send_string_data(str) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/net/imap.rb, line 1277
    def send_string_data(str)
      case str
      when ""
        put_string('""')
      when /[\x80-\xff\r\n]/
        # literal
        send_literal(str)
      when /[(){ \x00-\x1f\x7f%*"\\]/
        # quoted string
        send_quoted_string(str)
      else
        put_string(str)
      end
    end
Register or log in to add new notes.