Displaying 1 result from an estimated 1 matches for "ug3ekd521za".
2009 Feb 09
1
mail return value
Hi
I''m using this method to send emails
def send_report(name, email, content)
recipients email
subject "My subject"
from "no-reply-UG3EKd521ZA@public.gmane.org"
body :content => content
content_type "text/html"
end
I''d like to know if the email has been sent or not in order to print the
correct message in my view.
But I don''t know to catch the return value.
Any ideas?...