This commit is contained in:
parent
ed17613c63
commit
c9f98a152e
|
|
@ -1,4 +1,4 @@
|
|||
class ApplicationMailer < ActionMailer::Base
|
||||
default from: 'from@example.com'
|
||||
default from: 'pomoc@kalendarzdotacji.pl'
|
||||
layout 'mailer'
|
||||
end
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Mailer for dotations
|
||||
class NewDotationMailer < ApplicationMailer
|
||||
default from: 'kalendarzdotacji@gmail.com'
|
||||
default from: 'pomoc@kalendarzdotacji.pl'
|
||||
|
||||
def welcome_email
|
||||
@email_filter = FilterForEmail.where(id: params[:email_filter]).first
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Mailer for dotations
|
||||
class NotifyEmailMailer < ApplicationMailer
|
||||
default from: 'kalendarzdotacji@gmail.com'
|
||||
default from: 'pomoc@kalendarzdotacji.pl'
|
||||
|
||||
def contact_page
|
||||
@email_message = EmailMessage.where(id: params[:email]).first
|
||||
|
|
|
|||
|
|
@ -37,11 +37,11 @@ Rails.application.configure do
|
|||
config.action_mailer.default_url_options = { host: 'localhost', port: 3434 }
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.smtp_settings = {
|
||||
address: 'smtp.gmail.com',
|
||||
address: 'smtp-exacta.super-host.pl',
|
||||
port: 587,
|
||||
domain: 'kalendarzdotacji.pl',
|
||||
user_name: 'kalendarzdotacji@gmail.com',
|
||||
password: '498FAvFd4YBapu5',
|
||||
user_name: 'pomoc.kalendarzdotacji.exacta',
|
||||
password: 'SM15H1HztzirB',
|
||||
authentication: 'plain',
|
||||
enable_starttls_auto: true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,11 +70,11 @@ Rails.application.configure do
|
|||
config.action_mailer.default_url_options = { host: 'localhost', port: 3434 }
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.smtp_settings = {
|
||||
address: 'smtp.gmail.com',
|
||||
address: 'smtp-exacta.super-host.pl',
|
||||
port: 587,
|
||||
domain: 'kalendarzdotacji.pl',
|
||||
user_name: 'kalendarzdotacji@gmail.com',
|
||||
password: '498FAvFd4YBapu5',
|
||||
user_name: 'pomoc.kalendarzdotacji.exacta',
|
||||
password: 'SM15H1HztzirB',
|
||||
authentication: 'plain',
|
||||
enable_starttls_auto: true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue