Update for email
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 12 Aug 2014 17:33:01 +0000 (13:33 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 12 Aug 2014 17:33:01 +0000 (13:33 -0400)
updates emails for forms

Toolkit/Contacts/CruiseForm.php
config/server.ini
setup.phtml

index 7ddbebb..a55af87 100644 (file)
@@ -56,7 +56,7 @@ class Toolkit_Contacts_CruiseForm
      * @var string
      * @access protected
      */
-    protected $contactType = '2';
+    protected $contactType = '5';
     /**
      * Email subject and <h1> header in email
      *
@@ -66,7 +66,7 @@ class Toolkit_Contacts_CruiseForm
      * @var    string
      * @access protected
      */
-    public $subject = "ENews Signup Form from website";
+    public $subject = "Charter Cruise Inquiry Form from website";
     /**
      * which groups to use on form if empty will grab all groups
      */
@@ -83,7 +83,7 @@ class Toolkit_Contacts_CruiseForm
         .listing {display:none;}
         </style>
         <div id="form-success-top">
-            Thank you for requesting the ENewsetter.
+            Thank you for your inquiry.
         </div>';
     //    {{{    configureConstats()
 
@@ -122,7 +122,7 @@ class Toolkit_Contacts_CruiseForm
             $attributes,
             $trackSubmit
         );
-        $this->email = ENEWS_EMAIL;
+        $this->email = CRUISE_FORM_EMAIL;
     }
 
     /**
@@ -137,8 +137,7 @@ class Toolkit_Contacts_CruiseForm
     {
         $constants = array(
             'user_agent' => $_SERVER['HTTP_USER_AGENT'],
-            'remote_addr' => $_SERVER['REMOTE_ADDR'],
-            'mail_ok' => 1
+            'remote_addr' => $_SERVER['REMOTE_ADDR']
         );
         $this->setupConstants($constants);
     }
index c3e4e63..c3f024d 100644 (file)
@@ -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,38 @@ database.params.dbname = "soolocks"
 development = Off
 
 ; site owner email address
-email.owner                                 = "contact@gaslightmedia.com"
+email.owner                                 = "inquiry@soolocks.com"
 ; contact form email
-email.contact                               = "contact@gaslightmedia.com"
+email.contact                               = "inquiry@soolocks.com"
+email.cruise                                = "inquiry@soolocks.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                              = "inquiry@soolocks.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
@@ -136,7 +137,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"
@@ -188,7 +189,8 @@ development = On
 email.owner                                 = "leif@gaslightmedia.com"
 email.contact                               = "leif@gaslightmedia.com"
 email.addEventForm                          = "leif@gaslightmedia.com"
-email.enews                                 = "leif@gaslightmedia.com"
+email.enews                                 = Off
+email.cruise                                = "leif@gaslightmedia.com"
 email.visitor_guide                         = "leif@gaslightmedia.com"
 email.applicationForm                       = "leif@gaslightmedia.com"
 email.reply_member_news                     = "leif@gaslightmedia.com"
@@ -265,6 +267,7 @@ email.owner                                 = "steve+owner@localhost"
 email.contact                               = "steve+contact@localhost"
 email.addEventForm                          = "steve+eventForm@localhost"
 email.enews                                 = "steve+enews@localhost"
+email.cruise                                = "steve+cruise@localhost"
 email.visitor_guide                         = "steve+visitor_guide@localhost"
 email.applicationForm                       = "steve+applicationForm@localhost"
 email.reply_member_news                     = "steve+reply_member_news@localhost"
index a743a53..4aec578 100644 (file)
@@ -664,6 +664,7 @@ define('CONTACT_EMAIL', $serverConfig->email->contact);
  * Add Your Event Form Email
  */
 define('ADD_EVENT_EMAIL', $serverConfig->email->addEventForm);
+define('CRUISE_FORM_EMAIL', $serverConfig->email->cruise);
 /**
  * email for enews signup
  */