Files
gallery3/core/config/sendmail.php
Tim Almdal 41dbe5cf6c Changed the Sendmail library to allow the separator between mail
headers to be specified as a parameter.  The documents say that it
should be "\r\n".  Some sendmail programs seem to violate the
specification and get confused.  In these cases the header separator
is just "\n".

This change allows the header separator to be set by the a
configuration parameter.
2009-02-02 02:58:12 +00:00

30 lines
1.3 KiB
PHP

<?php defined("SYSPATH") or die("No direct script access.");
/**
* Gallery - a web based photo album viewer and editor
* Copyright (C) 2000-2008 Bharat Mediratta
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
/**
* PHP Mail Configuration parameters
* from => email address that appears as the from address
* line-length => word wrap length (PHP documentations suggest no larger tha 70 characters
* reply-to => what goes into the reply to header
*/
$config["from"] = "admin@gallery3.com";
$config["line_length"] = 70;
$config["reply_to"] = "public@gallery3.com";
$config["header_separator"] = "\n";