|
|
|
|
|
|
|
|
end
|
|
|
end
|
|
|
|
|
|
|
|
|
desc "Send a test email to the user with the provided login name"
|
|
|
desc "Send a test email to the user with the provided login name"
|
|
|
task :test, :login, :needs => :environment do |task, args|
|
|
|
|
|
|
|
|
|
task :test, [:login] => :environment do |task, args|
|
|
|
include Redmine::I18n
|
|
|
include Redmine::I18n
|
|
|
abort l(:notice_email_error, "Please include the user login to test with. Example: rake redmine:email:test[login]") if args[:login].blank?
|
|
|
abort l(:notice_email_error, "Please include the user login to test with. Example: rake redmine:email:test[login]") if args[:login].blank?
|
|
|
|
|
|
|