Revision 3fa781a8
Added by Marc Dequènes almost 11 years ago
lib/cyborghood/mail.rb | ||
---|---|---|
|
||
def deliver
|
||
unless self.class.delivery_initialized
|
||
Mail.defaults do
|
||
::Mail.defaults do
|
||
delivery_method :smtp, {
|
||
:address => @config.mail.smtp_server,
|
||
:port => @config.mail.smtp_port
|
Also available in: Unified diff
[fix] properly use root namespace when using Mail inside CybordHood::Mail