Small improvements.
This commit is contained in:
parent
575a29dee5
commit
90757d0128
3 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -18,4 +18,4 @@ class Channel::SMTP < Channel::EmailBuild
|
||||||
}
|
}
|
||||||
mail.deliver
|
mail.deliver
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in a new issue