SysConfig

Ruby code posted by kongfw
created at 02 Sep 21:18

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class SysConfig  
  
  EXCEPTION_NOTIFIER = {  
    :delivery_method => :smtp,  
    :sender_address => %w(beyondrails@gmail.com),  
    :email_prefix   => "BeyondRails",  
    :recipients     => %w(hideto.bj@gmail.com),  
    :smtp_settings  => {  
                        :address => "smtp.gmail.com",  
                        :port => 587,  
                        :domain => "beyondrails.com",  
                        :authentication => :login,  
                        :user_name => "beyondrails@gmail.com",  
                        :password => "beyondrails@gmail.com的密码"  
                          },  
  
  }  
  
end 
657 Bytes in 4 ms with coderay