Revision 15dbaea7
Added by Marc Dequènes almost 11 years ago
lib/cyborghood/mail.rb | ||
---|---|---|
|
||
def deliver
|
||
unless self.class.delivery_initialized
|
||
config = @config
|
||
|
||
::Mail.defaults do
|
||
delivery_method :smtp, {
|
||
:address => @config.mail.smtp_server,
|
||
:port => @config.mail.smtp_port
|
||
:address => config.mail.smtp_server,
|
||
:port => config.mail.smtp_port
|
||
}
|
||
end
|
||
|
Also available in: Unified diff
[fix] correct evaluation problem in block context