Skip to content

Instantly share code, notes, and snippets.

Failed to send out e-mail
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. y129sm721561qka.33 - gsmtp
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1580)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1097)
at javax.mail.Transport.send0(Transport.java:195)
at javax.mail.Transport.send(Transport.java:124)
at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:527)
Started by user anonymous
Building in workspace /Users/Shared/Jenkins/Home/jobs/Testing/workspace
Capturing environment variables produced by 'rvm use ruby-2.0.0-p247@revelator'
$ bash -c export
$ bash -c "test -f ~/.rvm/scripts/rvm"
[workspace] $ bash -c " source ~/.rvm/scripts/rvm && rvm use --install --create ruby-2.0.0-p247@revelator && export > rvm.env"
ruby-2.0.0-p247 is not installed - installing.
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
namespace :hs do
desc "This rake task imports 1 geographic area only"
task :import_one_area => :environment do
require 'nokogiri'
require 'open-uri'
require 'mechanize'
agent = Mechanize.new
class Place < ActiveRecord::Base
acts_as_gmappable For Google Maps
#For Google Maps
def gmaps4rails_address
"#{address}, #{city}, #{state}, #{zipcode}"
end
geocoded_by :complete_address
<%= gmaps4rails(@json) %>
<%= form_tag places_path, :method => :get do %>
<%= text_field_tag :search, params[:search], placeholder: "Enter your zipcode or city", class: "search-query"%>
<%= submit_tag "Search Nearby", :name => nil, class: "btn btn-flat"%>
<% end %>