Small improvements.

This commit is contained in:
Martin Edenhofer 2014-12-14 20:18:54 +01:00
parent 575a29dee5
commit 90757d0128
3 changed files with 3 additions and 2 deletions

View file

@ -704,7 +704,7 @@ curl http://localhost/api/v1/getting_started -v -u #{login}:#{password}
:from => email, :from => email,
:to => email, :to => email,
:subject => "Zammad Getting started Test Email #{subject}", :subject => "Zammad Getting started Test Email #{subject}",
:body => '.', :body => "This is a Test Email of Zammad to check if sending and receiving is working correctly.\n\nYou can ignore or delete this email.",
'x-zammad-ignore' => 'true', 'x-zammad-ignore' => 'true',
} }
else else

View file

@ -11,6 +11,7 @@ class Channel::EmailSend
rescue Exception => e rescue Exception => e
puts "can't use " + 'Channel::' + channel[:adapter] puts "can't use " + 'Channel::' + channel[:adapter]
puts e.inspect puts e.inspect
puts e.backtrace
end end
end end
end end

View file

@ -18,4 +18,4 @@ class Channel::SMTP < Channel::EmailBuild
} }
mail.deliver mail.deliver
end end
end end