mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
adds email from address
This commit is contained in:
parent
297f6763a2
commit
893ced3c25
2 changed files with 3 additions and 2 deletions
|
@ -2,4 +2,5 @@ APP_SECRET_TOKEN=REPLACE_ME_NOW!
|
|||
DOMAIN=localhost:3000
|
||||
GOOGLE_APPS_DOMAIN=your-domain-here.com
|
||||
GMAIL_USERNAME=you@gmail.com
|
||||
GMAIL_PASSWORD=somepassword
|
||||
GMAIL_PASSWORD=somepassword
|
||||
EMAIL_FROM_ADDRESS=from_address@gmail.com
|
|
@ -1,5 +1,5 @@
|
|||
class SystemMailer < ActionMailer::Base
|
||||
default from: ENV['GMAIL_USERNAME']
|
||||
default from: ENV['EMAIL_FROM_ADDRESS']
|
||||
|
||||
def send_message(options)
|
||||
@lines = options[:lines]
|
||||
|
|
Loading…
Add table
Reference in a new issue