ruby string block is not syntax highlighting very well #1069

Closed
eoelabs opened this Issue Oct 25, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@eoelabs

eoelabs commented Oct 25, 2012

this code is not syntax highlighting very well.

require 'net/smtp'  

message = <<MESSAGE_END
From: Private Person <iceskysl@eoemobile.com>
To: A Test User <iceskysl@test.com>
MIME-Version: 1.0
Content-type: text/html
Subject: SMTP e-mail test

This is an e-mail message to be sent in HTML format

<b>This is HTML message.</b>
<h1>This is headline.</h1>
MESSAGE_END


begin
  Net::SMTP.start( 'smtp.qq.com', 25, "iceskysl.com", "admin@iceskysl.com", "xxxxxxx", :login ) do |smtp|  
    smtp.sendmail( message,  'admin@iceskysl.com', 'iceskysl@gmail.com' )  
  end
rescue Exception => e  
   print "Exception occured: " + e  
end

#Net::SMTP.start(server, port, domain, acct, passwd, authtype)参数解释

nightwing added a commit that referenced this issue Dec 28, 2012

nightwing added a commit that referenced this issue Dec 28, 2012

nightwing added a commit that referenced this issue Jan 2, 2013

nightwing added a commit that referenced this issue Feb 2, 2013

@nightwing

This comment has been minimized.

Show comment Hide comment
@nightwing

nightwing Feb 6, 2013

Owner

Fixed. Thanks for the report!

Owner

nightwing commented Feb 6, 2013

Fixed. Thanks for the report!

@nightwing nightwing closed this Feb 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment