So I recently asked a question about sending mail and the error I was getting which is laid out in the link. The answer which I liked, and accepted - seemed to backfire on me and give me the same result, even when I used my own personal, real, non misspelled email address.
The suggestion to put:
begin
UserMailer.registration_confirmation(@user).deliver
rescue SocketError => e
# Perhaps you want to log what happened?
@user.disable(:reason => "Registration mail unable to send: #{e.message}")
end
in the user create action, while good only gave me the same error when I spit out e.message
which, in this case, is: "getaddrinfo: nodename nor servname provided, or not known"
and I have no idea what this is or even how to fix it.
Does any one have any ideas?