diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-28 04:22:59 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-28 04:22:59 +0000 |
commit | 66fae635580890a2c25820b76f680baad11669af (patch) | |
tree | fa5392d411a9e20e09ff0ed95c346ffde94dc945 /core/config/sendmail.php | |
parent | ca8e92376a4a0d9cbe072010e35e2e162b83dc5a (diff) |
Create a sendmail library to wrap the call to the system sendmail
facility. Something quirky is happening in the first test, see comment
in code, but I couldn't figure it out. Left a @todo for now.
Diffstat (limited to 'core/config/sendmail.php')
-rw-r--r-- | core/config/sendmail.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/core/config/sendmail.php b/core/config/sendmail.php new file mode 100644 index 00000000..ac1bdb1a --- /dev/null +++ b/core/config/sendmail.php @@ -0,0 +1,28 @@ +<?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 + * reply-to => what goes into the reply to header + */ +$config["from"] = "admin@gallery3.com"; +$config["line_length"] = 75; +$config["reply_to"] = "public@gallery3.com"; |