Email Configuration -redmine

原文:http://www.redmine.org/projects/redmine/wiki/EmailConfiguration

Configuration Directives

This page is a work in progress, the following configuration directives are only a partial list.

authentication

The type of authentication method expected by your service provider.

Valid settings:

  • :login
  • :none

(note: if you set this to :none, you must not include the user_name and password settings)

delivery_method

The mail transport method to be used.

Valid settings:

  • :smtp
  • :async_smtp - valid in trunk/0.9+ only
  • :sendmail
  • :async_sendmail - valid in trunk/0.9+ only

Asynchronous delivery_methods

The :async_smtp and :async_sendmail use asynchronous sends, which means Redmine does not wait for the email to be sent to display the next page. SeeAsynchronous
Email Delivery
 for more details.

Example configuration.yml Configurations

Simple Login Authentication (default settings)

# Outgoing email settings

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: smtp.example.net
      port: 25
      domain: example.net
      authentication: :login
      user_name: redmine@example.net
      password: redmine

development:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: 127.0.0.1
      port: 25
      domain: example.net
      authentication: :login
      user_name: redmine@example.net
      password: redmine

If you want to use GMail/Google Apps and other TLS-requiring SMTP servers, you'll have to add some TLS-related settings :

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      tls: true
      enable_starttls_auto: true
      address: "smtp.gmail.com"
      port: '587'
      domain: "smtp.gmail.com"
      authentication: :plain
      user_name: "your_email@gmail.com"
      password: "your_password" 

However, this will only work with "recent" enough ruby and rails versions (1.8.7 patchset 2xx and 2.3.5).
(See #5814 )

No Authentication

Example for an SMTP service provider with no authentication. Note the colon before none.

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: smtp.knology.net
      port: 25
      domain: cybersprocket.com
      authentication: :none

Using sendmail command

Example for a unix system that uses the /usr/sbin/sendmail command.

production:
  email_delivery:
    delivery_method: :sendmail

More information

时间: 2024-08-03 23:22:09

Email Configuration -redmine的相关文章

Windows下的Oracle导出脚本

  导出脚本内容: @echo off REM REM File name Daily.bat REM Batch Process Reload DB Backup REM REM Author Frank.Fan REM Modification History Created 2012-05-07 REM Modified REM for /F "tokens=1-3 delims=/ " %%i in ('date /t') do @set FILENAMEDT=%%i%%j%%

vbs sendmail发邮件带附件方法_vbs

NameSpace = "http://schemas.microsoft.com/cdo/configuration/" Set Email = CreateObject("CDO.Message") Email.From = "zzzevazzz@21cn.com" Email.To = "zzzevazzz@126.com" Email.Subject = "Test sendmail.vbs" Em

获取外网IP并发送到指定邮箱的vbs代码[已测]_vbs

复制代码 代码如下: ''getIP set http=createobject("Microsoft.XMLHTTP") ipp="http://www.ip138.com/ip2city.asp" http.open "get",ipp,false http.send ss=bytes2BSTR(Http.responsebody) intStrA = InStr(1,ss,"[",1)+1 sss=mid(ss,intS

Java的Spring框架中实现发送邮件功能的核心代码示例_java

Spring中已经封装了邮件操作类,通过spring配置文件可以便捷地注入到controller.action等地方. 下面是配置: <!-- mail sender --> <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl" p:host="${mail.host}" p:port="${mail.por

用vbs发送带附件的邮件_vbs

function Send_mail(You_Account,You_Password,Send_Email,Send_Email2,Send_Topic,Send_Body,Send_Attachment)  'code by NetPatch 'VBS发送邮件参数说明 'You_Account:你的邮件帐号 'You_Password:你的邮件密码 'Send_Email: 主要邮件地址 'Send_Email2: 备用邮件地址 'Send_Topic: 邮件主题 'Send_Body:  

[Android App]IFCTT,即:If Copy Then That,一个基于IFTTT的&quot;This&quot;实现

IFCTT,即:If Copy Then That,是一个基于IFTTT(If This Then That)的"This"实现,它打通了"用户手机端操作"与"This条件触发"之间的桥梁,让这个过程更具方便性和快捷性.通过手机端的Copy动作,以"Tagged Email"的方式连接到IFTTT,从而触发IFTTT中所有支持的"That"行为.用户只需要复制然后选择触发IFTTT的"Hash T

Redmine EMAIL /SMTP 服务器设置

原文:http://www.cnblogs.com/fromchaos/archive/2011/09/23/2185759.html 参考:http://www.redmine.org/projects/redmine/wiki/EmailConfiguration 1.需SMTP登陆验证的电子邮件配置,在configuration.yml增加 # Outgoing email settings production:   delivery_method: :smtp   smtp_setti

HowTo Install Redmine in Ubuntu - Redmine

原文:http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu Ubuntu 10.04 (and 10.04.1) using Passenger The installation assumes that the web server and database are already in place, so you probably want to install the LAMP stack

redmine 邮件服务的配置

原文:http://www.oschina.net/question/84514_9374 1.将config/email.yml.example重命名为config/email.yml  REDMINE_ROOT$ mv config/email.yml.example config/email.yml 2.修改config/email.yml文件,修改信息如下:  production:   delivery_method: :smtp   smtp_settings:   address: