Answer the question
In order to leave comments, you need to log in
Run php script from ruby (redmine)?
when checking email I want to execute a function
def test_email(user)
set_language_if_valid(user.language)
@url = url_for(:controller => 'welcome')
mail :to => user.mail,
:subject => 'Redmine test'
system("php run.php")
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question