Project

General

Profile

Correccion - Mejora #3532

Permitir la configuracion del sistema de envio de correos

Added by Santiago Ramos almost 2 years ago. Updated almost 2 years ago.

Status:
Resuelta
Priority:
Normal
Category:
Desarrollo
Target version:
Start date:
01/29/2019
Due date:
% Done:

100%

History

#1 Updated by Santiago Ramos almost 2 years ago

  • Status changed from Nueva to Resuelta
  • % Done changed from 0 to 100

Se utilizan variables de entorno para definir el servidor SMTP de relay y la configuración de este:

      ActionMailer::Base.smtp_settings = {
        address:              ENV['SMTP_HOSTNAME'],
        port:                 ENV['SMTP_PORT']||25,
        domain:               ENV['SMTP_DOMAIN'],
        user_name:            ENV['SMTP_USERNAME'],
        password:             ENV['SMTP_PASSWORD'],
        authentication:       ENV['SMTP_AUTHTYPE']||'plain',
        enable_starttls_auto: false
      }

Also available in: Atom PDF

Financiado por:

Desarrollado por:
Software libre forjado en: