Go To English Version 超过100万源码资源,1000万源码文件免费下载
  • configatron ... (this is particularly useful if you'd like to have configuration files): ```ruby configatron.configure_from_hash(email: {pop: {address: 'pop.example.com', port: 110}}, smtp: {address: 'smtp.example.com'}) configatron.email.pop.address # => 'pop.example ...
  • ar_mailer ... so in config/email.yml development: domain: example.com address: smtp.example.com port: 25 production: domain: example ... address: smtp.example.com port: 25 You can still have ActionMailer settings in each environment file but ...
  • yaml_mail_config ... : email_account_login password: email_account_password production: server: mail.domain.com port: 465 domain: domain.com authentication: login username: email_account_login password: email_account_password tls: true ...
  • acts_as_pradipta ... .my_settings = { :delivery_method => :smtp } config.action_mailer.smtp_settings = { :address => 'smtp.gmail.com', :port => 25, :domain => 'gmail.com' } Credit ====== Mostly extracted from http://github.com/Nel/deliver_to_me/tree/master ...
  • sinatra-mailer ... , yet. But we'll get to that. Using SMTP ---------- Sinatra::Mailer.config = { :host => 'smtp.yourserver.com', :port => '25', :user => 'user', :pass => 'pass', :auth => :plain # :plain, :login, :cram_md5, the ...
  • tbalancer ... 65537 [timeout 10000 ms]; Timeout specifies connect and write timeout. Example config -------------- listen 9090; backends { server thrift1.example.com port 9090; server thrift2.example.com port 9090 timeout 300 ms; };
  • tls-support ... .perform_deliveries = true config.action_mailer.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => 'smtp.gmail.com', :port => 587, :authentication => :plain, :user_name => 'notifier@simplificator.com', :password => ' ...
  • action_mailer_tls ... code snippet in config/environment.rb ActionMailer::Base.server_settings = { :address => "smtp.gmail.com", :port => 587, :domain => "mycompany.com", :authentication => :plain, :user_name => "username", :password => "password" } Copyright (c ...
  • erlpop ... with services like GMail which require SSL). ### Usage ### > {ok, Client} = epop_client:connect("yourname@gmail.com", "yourpassword", [{addr,"pop.gmail.com"},{port,995},ssl]). > epop_client:stat(Client). > epop_client:retrieve(Client, 1).
  • supppl ... , cl=CLASS, proxy={'http': 'http://your_proxy.com'}) - with auth support:: sp = Supplierplan(school=SCHOOLID, usr=USRNAME, pw=PASS, cl=CLASS, auth=True, proxy={'user': 'yourusername', 'pass': 'yourpassword', 'host': 'yourhost.com', 'port': 1337})