redmine如何添加qq邮箱功能
#=Redmineconfigurationfile##Eachenvironmenthasit'sownconfigurationoptions.Ifyouareonly#runninginproduction,onlytheproductionblockneedstobeconfigured.#Environmentspecificconfigurationoptionsoverridethedefaultones.##NotethatthisfileneedstobeavalidYAMLfile.#DONOTUSETABS!Use2spacesinsteadoftabsforidentation.#defaultconfigurationoptionsforallenvironmentsdefault:#Outgoingemailsconfiguration#SeetheexamplesbelowandtheRailsguideformoreconfigurationoptions:#http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configurationemail_delivery:delivery_method::smtpsmtp_settings:tls:falseaddress:smtp.qq.comport:25domain:example.netauthentication::loginenable_starttls_auto:trueuser_name:1820034099@qq.compassword:wwugdzfnwgivdbii#====SimpleSMTPserveratlocalhost##email_delivery:delivery_method::smtpsmtp_settings:tls:falseaddress:smtp.qq.comport:25domain:example.netauthentication::loginenable_starttls_auto:trueuser_name:1820034099@qq.compassword:wwugdzfnwgivdbii#delivery_method::smtp#smtp_settings:#address:"localhost"#port:25##====SMTPserveratexample.comusingLOGINauthenticationandcheckingHELOforfoo.com##email_delivery:delivery_method::smtpsmtp_settings:tls:falseaddress:smtp.qq.comport:25domain:example.netauthentication::loginenable_starttls_auto:trueuser_name:1820034099@qq.compassword:wwugdzfnwgivdbii#delivery_method::smtp#smtp_settings:#address:"example.com"#port:25#authentication::login#domain:'foo.com'#user_name:'myaccount'#password:'password'##====SMTPserveratexample.comusingPLAINauthentication##email_delivery:delivery_method::smtpsmtp_settings:tls:falseaddress:smtp.qq.comport:25domain:example.netauthentication::loginenable_starttls_auto:trueuser_name:1820034099@qq.compassword:wwugdzfnwgivdbii#delivery_method::smtp#smtp_settings:#address:"example.com"#port:25#authentication::plain#domain:'example.com'#user_name:'myaccount'#password:'password'##====SMTPserveratusingTLS(GMail)#Thismightrequiresomeadditionalconfiguration.Seetheguidesat:#http://www.redmine.org/projects/redmine/wiki/EmailConfiguration##email_delivery:delivery_method::smtpsmtp_settings:tls:falseaddress:smtp.qq.comport:25domain:example.netauthentication::loginenable_starttls_auto:trueuser_name:1820034099@qq.compassword:wwugdzfnwgivdbii#delivery_method::smtp#smtp_settings:#enable_starttls_auto:true#address:"smtp.gmail.com"#port:587#domain:"smtp.gmail.com"#'your.domain.com'forGoogleApps#authentication::plain#user_name:"your_email@gmail.com"#password:"your_password"##====Sendmailcommand##email_delivery:delivery_method::smtpsmtp_settings:tls:falseaddress:smtp.qq.comport:25domain:example.netauthentication::loginenable_starttls_auto:trueuser_name:1820034099@qq.compassword:wwugdzfnwgivdbii#delivery_method::sendmail#Absolutepathtothedirectorywherep_w_uploadsarestored.#Thedefaultisthe'files'directoryinyourRedmineinstance.#YourRedmineinstanceneedstohavewritepermissiononthis#directory.#Examples:#p_w_uploads_storage_path:/var/redmine/files#p_w_uploads_storage_path:D:/redmine/filesp_w_uploads_storage_path:#Configurationoftheautologincookie.#autologin_cookie_name:thenameofthecookie(default:autologin)#autologin_cookie_path:thecookiepath(default:/)#autologin_cookie_secure:truesetsthecookiesecureflag(default:false)autologin_cookie_name:autologin_cookie_path:autologin_cookie_secure:#ConfigurationofSCMexecutablecommand.##Absolutepath(e.g./usr/local/bin/hg)orcommandname(e.g.hg.exe,bzr.exe)#OnWindows+CRuby,*.cmd,*.bat(e.g.hg.cmd,bzr.bat)doesnotwork.##OnWindows+JRuby1.6.2,pathwhichcontainsspacesdoesnotwork.#Forexample,"C:\ProgramFiles\TortoiseHg\hg.exe".#Ifyouwanttothisfeature,youneedtoinstalltothepathwhichdoesnotcontainsspaces.#Forexample,"C:\TortoiseHg\hg.exe".##Examples:#scm_subversion_command:svn#(default:svn)#scm_mercurial_command:C:\ProgramFiles\TortoiseHg\hg.exe#(default:hg)#scm_git_command:/usr/local/bin/git#(default:git)#scm_cvs_command:cvs#(default:cvs)#scm_bazaar_command:bzr.exe#(default:bzr)#scm_darcs_command:darcs-1.0.9-i386-linux#(default:darcs)#scm_subversion_command:scm_mercurial_command:scm_git_command:scm_cvs_command:scm_bazaar_command:scm_darcs_command:#SCMpathsvalidation.##YoucanconfigurearegularexpressionforeachSCMthatwillbeusedto#validatethepathofnewrepositories(eg.pathenteredbyuserswiththe#"Managerepositories"permissionandpathreturnedbyreposman.rb).#Theregexpwillbewrappedwith\A\z,soitmustmatchthewholepath.#Andtheregexpiscasesensitive.##Youcanmatchtheprojectidentifierbyusing%project%intheregexp.##YoucanalsosetacustomhintmessageforeachSCMthatwillbedisplayed#ontherepositoryforminsteadofthedefaultone.##Examples:#scm_subversion_path_regexp:file:///svnpath/[a-z0-9_]+#scm_subversion_path_info:SVNURL(eg.file:///svnpath/foo)##scm_git_path_regexp:/gitpath/%project%(\.[a-z0-9_])?/#scm_subversion_path_regexp:scm_mercurial_path_regexp:scm_git_path_regexp:scm_cvs_path_regexp:scm_bazaar_path_regexp:scm_darcs_path_regexp:scm_filesystem_path_regexp:#AbsolutepathtotheSCMcommandserrors(stderr)logfile.#Thedefaultistologinthe'log'directoryofyourRedmineinstance.#Example:#scm_stderr_log_file:/var/log/redmine_scm_stderr.logscm_stderr_log_file:#Keyusedtoencryptsensitivedatainthedatabase(SCMandLDAPpasswords).#Ifyoudon'twanttoenabledataencryption,justleaveitblank.#WARNING:losing/changingthiskeywillmakeencrypteddataunreadable.##Ifyouwanttoencryptexistingpasswordsinyourdatabase:#*setthecipherkeyhereinyourconfigurationfile#*encryptdatausing'rakedb:encryptRAILS_ENV=production'##Ifyouhaveencrypteddataandwanttochangethiskey,youhaveto:#*decryptdatausing'rakedb:decryptRAILS_ENV=production'first#*changethecipherkeyhereinyourconfigurationfile#*encryptdatausing'rakedb:encryptRAILS_ENV=production'database_cipher_key:#Setthistofalsetodisableplugins'assetsmirroringonstartup.#Youcanuse`rakeredmine:plugins:assets`tomanuallymirrorassets#topublic/plugin_assetswhenyouinstall/upgradeaRedmineplugin.##mirror_plugins_assets_on_startup:false#Yoursecretkeyforverifyingcookiesessiondataintegrity.Ifyou#changethiskey,alloldsessionswillbecomeinvalid!Makesurethe#secretisatleast30charactersandallrandom,noregularwordsor#you'llbeexposedtodictionaryattacks.##Ifyouhaveaload-balancingRedminecluster,youhavetousethe#samesecrettokenoneachmachine.#secret_token:'changeittoalongrandomstring'#Requiresuserstore-entertheirpasswordforsensitiveactions(editing#ofaccountdata,projectmemberships,applicationsettings,user,group,#role,authsourcemanagementandprojectdeletion).Disabledbydefault.#Timeoutissetinminutes.##sudo_mode:true#sudo_mode_timeout:15#Absolutepath(e.g./usr/bin/convert,c:/im/convert.exe)to#theImageMagick's`convert`binary.Usedtogeneratep_w_uploadthumbnails.p_w_picpathmagick_convert_command:'C:\Bitnami\redmine-3.2.1-0/p_w_picpathmagick/convert.exe'#ConfigurationofRMagickfont.##RedmineusesRMagickinordertoexportganttpng.#Youdon'tneedthissettingifyoudon'tinstallRMagick.##InCJK(Chinese,JapaneseandKorean),#inordertoshowCJKcharacterscorrectly,#youneedtosetthisconfiguration.##BecausethereisnostandardfontacrossplatformsinCJK,#youneedtosetafontinstalledinyourserver.##ThissettingisnotnecessaryinnonCJK.##ExamplesforJapanese:#Windows:#rmagick_font_path:C:\windows\fonts\msgothic.ttc#Linux:#rmagick_font_path:/usr/share/fonts/ipa-mincho/ipam.ttf#rmagick_font_path:#MaximumnumberofsimultaneousAJAXuploads#max_concurrent_ajax_uploads:2#ConfigureOpenIdAuthentication.store##allowedvalues::memory,:file,:memcache#openid_authentication_store::memory#specificconfigurationoptionsforproductionenvironment#thatoverridesthedefaultonesproduction:#specificconfigurationoptionsfordevelopmentenvironment#thatoverridesthedefaultonesdevelopment:
以上是配置好邮箱后的配置文件所有内容。
最主要的是这个:
default:#Outgoingemailsconfiguration#SeetheexamplesbelowandtheRailsguideformoreconfigurationoptions:#http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configurationemail_delivery:delivery_method::smtpsmtp_settings:tls:falseaddress:smtp.qq.comport:25domain:example.netauthentication::loginenable_starttls_auto:trueuser_name:1820034099@qq.compassword:wwugdzfnwgivdbii
注意上面,两个冒号后,不要有空格
但是一个空格后面,必须加一个空格。
此外,paaword后的密码并不是邮箱登陆的密码,而是腾讯授权第三方客户端登陆的密码。
记住哦!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
redmine 如何安装code review 插件
http://blog.csdn.net/benkaoya/article/details/8877945
注意,code review插件解压缩后,必须把文件夹放入plugins文件夹,不能把目录中的文件放入
首先切换到ruby\bin目录,更新 rake到版本10.5.0,否则会报错:
然后,切换到plugins ,输入bundle install
最后输入rake 命令安装插件:
接下来,重启
接下来,
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。