Luis Saffie wrote in post #949585:
> You can try this
>
>
>      Notifier.appointment_booked(@appointment).deliver  unless
> @appointment.client.email.nil?

According to the logs, it's still trying to send an email. Note "Sent 
mail to" but of course, it's empty because there is no email for that 
client.

---------------
LOG TRACE
---------------
Rendered notifier/appointment_booked.html.erb (5.9ms)
Rendered notifier/appointment_booked.text.erb (0.3ms)

Sent mail to  (75ms)
Date: Tue, 12 Oct 2010 13:08:51 -0500

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to