lib/utopia/exceptions/mailer.rb
# A basic local non-authenticated SMTP server.
A basic local non-authenticated SMTP server.
A basic local non - authenticated SMTP server .
def send_notification(exception, env)
				mail = generate_mail(exception, env)
				mail.delivery_method(*@delivery_method) if @delivery_method
				mail.deliver
			rescue => mail_exception
				$stderr.puts mail_exception.to_s
				$stderr.puts mail_exception.backtrace
			end
def send_notification ( exception , env ) mail = generate_mail ( exception , env ) mail . delivery_method ( * @delivery_method ) if @delivery_method mail . deliver rescue => mail_exception $stderr . puts mail_exception . to_s $stderr . puts mail_exception . backtrace end
A basic local non-authenticated SMTP server.
A basic local non - authenticated SMTP server .
exception
env