From 7332c29482991e4d458f4a0e79ef7c05508a5c93 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 15 Jul 2014 15:17:42 -0400 Subject: [PATCH] Update email addresses Bring the two defines for the price qoute form. --- config/server.ini | 48 +++++++++++++++++++++++++++++----------------- priceQuoteForm.inc | 2 +- setup.phtml | 9 +++++++++ 3 files changed, 40 insertions(+), 19 deletions(-) diff --git a/config/server.ini b/config/server.ini index 0f179d3..0d6640d 100644 --- a/config/server.ini +++ b/config/server.ini @@ -79,7 +79,7 @@ database.adapter = "pgsql" ; error message displayed - used for GLM_DB class database.error.message = "An error has occured with the database!" ; host to connect to -database.params.host = "ds3" +database.params.host = "ds4" ; username to connect as database.params.username = "nobody" ; database name to connect to @@ -89,37 +89,41 @@ database.params.dbname = "bigfore" development = Off ; site owner email address -email.owner = "contact@gaslightmedia.com" +email.owner = "debby@troutcreek.com" ; contact form email -email.contact = "contact@gaslightmedia.com" +email.contact = "debby@troutcreek.com" +; Trout Creek emails +email.trout_creek = "debby@troutcreek.com, nikki@troutcreek.com, chris@troutcreek.com" +; Hamlet Village emails +email.hamlet_village = "bigfore.hamletvillage@landmasters.com" ; Add Your Event Form Email -email.addEventForm = "contact@gaslightmedia.com" +email.addEventForm = Off ; enews form email -email.enews = "contact@gaslightmedia.com" +email.enews = Off ; visitor guide form email -email.visitor_guide = "contact@gaslightmedia.com" +email.visitor_guide = Off ; employment application form -email.applicationForm = "contact@gaslightmedia.com" +email.applicationForm = Off ; reply header for admin/MContact -email.reply_member_news = "contact@gaslightmedia.com" +email.reply_member_news = Off ; which email address should pending member update notifications go to ; if you set this to false - no emails will be sent for updates -email.member_record_updates_advisor = "contact@gaslightmedia.com" +email.member_record_updates_advisor = Off ; reply-to email used in the members forgot password email -email.member_forgot_password_email_reply_to = "contact@gaslightmedia.com" +email.member_forgot_password_email_reply_to = Off ; This is where the first email goes to notify the site owner that a gift ; certificate has been ordered -email.giftcert = "contact@gaslightmedia.com" +email.giftcert = Off ; used at the from address for gift certificate emails -email.giftcert_from = "contact@gaslightmedia.com" +email.giftcert_from = Off ; email contains senstive information and must be an upnorth.net address -email.giftcert_secure = "info@upnorth.net" +email.giftcert_secure = Off ; used in admin/Contact mailout.phtml file in the reply-to header -email.reply_to = "contact@gaslightmedia.com" +email.reply_to = "reservations@bigfore.com" ; email address to send the banner reports to for the site admin -email.banner_reports_admin = "contact@gaslightmedia.com" +email.banner_reports_admin = Off ; email address to send banner expiration notices to -email.expiring_banner_notification = "contact@gaslightmedia.com" +email.expiring_banner_notification = Off ; from header for admin/Contact mailout ; ; the networking department assigns an alias for the @@ -127,7 +131,7 @@ email.expiring_banner_notification = "contact@gaslightmedia.com" ; "xxx_bounce@harbor.gaslightmedia.com" address ; ; xxx being the domain of the website -email.from_news = "newsletter@gaslightmedia.com" +email.from_news = "newsletter@bigfore.com" email.server_from = "server@gaslightmedia.com" ; from header for admin/MContact mailout ; @@ -136,7 +140,7 @@ email.server_from = "server@gaslightmedia.com" ; "xxx_bounce@harbor.gaslightmedia.com" address ; ; xxx being the domain of the website -email.from_member_news = "newsletter@gaslightmedia.com" +email.from_member_news = Off ; dead email address for forms w/ one-way communication ; ie: pending member updates email.do_not_reply = "donotreply@gaslightmedia.com" @@ -186,6 +190,8 @@ database.params.host = "devdb" development = On email.owner = "leif@gaslightmedia.com" +email.trout_creek = "leif@gaslightmedia.com" +email.hamlet_village = "leif@gaslightmedia.com" email.contact = "leif@gaslightmedia.com" email.addEventForm = "leif@gaslightmedia.com" email.enews = "leif@gaslightmedia.com" @@ -222,6 +228,8 @@ app.base_url = "http://192.168.44.7/app.gaslightmedia.com/" database.params.host = "localhost" email.owner = "cscott@gaslightmedia.com" +email.trout_creek = "cscott@gaslightmedia.com" +email.hamlet_village = "cscott@gaslightmedia.com" email.contact = "cscott@gaslightmedia.com" email.addEventForm = "cscott@gaslightmedia.com" email.enews = "cscott@gaslightmedia.com" @@ -256,6 +264,8 @@ app.base_secure_url = "https://vserver/app.gaslightmedia.com/" database.params.host = "localhost" email.owner = "steve+owner@localhost" +email.trout_creek = "steve+troutcreek@localhost" +email.hamlet_village = "steve+hamletvillage@localhost" email.contact = "steve+contact@localhost" email.addEventForm = "steve+eventForm@localhost" email.enews = "steve+enews@localhost" @@ -291,6 +301,8 @@ app.base_secure_url = "https://localhost:8080/app.gaslightmedia.com/" database.params.host = "devdb" email.owner = "vagrant+owner@localhost" +email.trout_creek = "vagrant+troutcreek@localhost" +email.hamlet_village = "vagrant+hamletvillage@localhost" email.contact = "vagrant+contact@localhost" email.addEventForm = "vagrant+eventForm@localhost" email.enews = "vagrant+enews@localhost" diff --git a/priceQuoteForm.inc b/priceQuoteForm.inc index bbf3de7..8244853 100644 --- a/priceQuoteForm.inc +++ b/priceQuoteForm.inc @@ -729,6 +729,7 @@ class ActionProcess extends HTML_QuickForm_Action } else { $toEmail = HAMLET_VILLAGE_EMAILS; } +// var_dump($toEmail);exit; require_once 'Mail.php'; require_once 'Mail/mime.php'; @@ -737,7 +738,6 @@ class ActionProcess extends HTML_QuickForm_Action $mimeMail = new Mail_mime($crlf); $mimeMail->setFrom(SITENAME . '<' . OWNER_EMAIL . '>'); $mimeMail->addBcc('jodie@gaslightmedia.com'); - //$mimeMail->addBcc('veilig2000@gmail.com'); $mimeMail->setSubject(SITENAME . ' Price Quote Request Form'); $mimeMail->setHTMLBody($msg); diff --git a/setup.phtml b/setup.phtml index 3bf87e9..4e8b7db 100644 --- a/setup.phtml +++ b/setup.phtml @@ -660,6 +660,15 @@ define('DEVELOPMENT', $serverConfig->development); * Site owners email address */ define('OWNER_EMAIL', $serverConfig->email->owner); +/** + * Trout Creek Emails + */ +define('TROUT_CREEK_EMAILS', $serverConfig->email->trout_creek); +/** + * Hamlet Village Emails + */ +define('HAMLET_VILLAGE_EMAILS', $serverConfig->email->hamlet_village); + /** * email for contact form */ -- 2.17.1