Hi!
I have scaffold named users
with fields: email, surname.
I inserted about 10 users.
Bottom of the scaffold there are button called "Send"
.
When i pressed this button email receive all 10 people with following
text => "Hello! my number is 718927 (this is generated by rand(9999) for example)."
How can i do it? Can i do it ?
I should have in questions_controller:
def button_send
end
or what ? or through actionmailer? Idont understand the logic as well