View previous topic :: View next topic |
Author |
Message |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Sat Sep 18, 2004 3:08 pm Post subject: Project Zen Webmail |
|
|
http://www.coolmon.com/new/?link=download
Can someone see if they can get it working on their comps because i tried to set it up on mine all i get is an error 200 after i try and login.
P.S. hers my config.php
Code: | <?php
//config.php
global $sessInfo;
$sessInfo = "PHPSESSID"; //Your server's session id (PHPSESSID is PHP's default)
global $mailName;
$mailName = "Project Zen Webmail"; //Your server's webmail name (whatever you want!)
global $serverinfo;
$infcnt = 0;
$serverinfo[$infcnt]->account = "thatgamingsite.ath.cx"; //main email account server, ie: mail.wsu.edu
$serverinfo[$infcnt]->name[0] = "thatgamingsite.ath.cx"; //mail server alias... example email: something@alias.com
//so here it would be alias.com. If you have multiple email server alias' like
//Washington State University, (ie. wsunix.wsu.edu and mail.wsu.edu), you would
//use the primary alias first, and then the secondary. The primary is what the
//owner data would be stored under in the mysql database.
//always have account default for ending of email as [0].
//for database ownsership reasons, unless you really want
//to messup ownership rights for filter rules, personal prefs, etc.
$serverinfo[$infcnt]->name[1] = "";
$serverinfo[$infcnt]->port = 110; //server port
$serverinfo[$infcnt]->pop3 = true; //use pop3?
$serverinfo[$infcnt]->ssl = false; //use ssl?
$serverinfo[$infcnt]->validcrt = "none"; //validate certificate? ( false/true/"none" )
$serverinfo[$infcnt]->rsh = true; //use rsh?
$serverinfo[$infcnt]->tls = "none"; //use tls? ( false/true/"none" )
$serverinfo[$infcnt]->prefix = "mail/"; //where's the mail folder located?
$serverinfo[$infcnt]->subfolders = false; //Email folders of type INBOX.foldername ?
$serverinfo[$infcnt]->useEmail = true; //Use email address as username for mail server login?
$serverinfo[$infcnt]->sentbox = "sent-mail"; //sent mail folder, if it's not there it will be created.
$serverinfo[$infcnt]->trashbox = "Trash"; //trash folder, if it's not there it will be created.
$serverinfo[$infcnt]->draftbox = "Drafts"; //drafts folder, if it's not there it will be created.
$serverinfo[$infcnt]->tz_offset = '';
$serverinfo[$infcnt]->database = "projectzen"; //project zen database
$serverinfo[$infcnt]->filter = "filterrules"; //filter table
$serverinfo[$infcnt]->addressbook = "addressbook"; //addressbook table
$serverinfo[$infcnt]->mysqlhost = "localhost"; //mysql host
$serverinfo[$infcnt]->mysqlport = ""; //mysql port
$serverinfo[$infcnt]->mysqluser = "root"; //mysql user
$serverinfo[$infcnt]->mysqlpass = "notafatchance"; //mysql password
$serverinfo[$infcnt]->useavatars = false; //use email avatar system
$infcnt++;
/****************Don't edit below***************************/
global $PZENVERSION, $PZENBUGTRACK;
$PZENVERSION = ".21"; //Project Zen Version
$PZENBUGTRACK = false; //Display bug tracking option
function find_host_info($MAILSERVER) {
global $serverinfo;
for ($i=0; $i < sizeof($serverinfo); $i++)
{
for ($j=0; $j < sizeof($serverinfo[$i]->name); $j++)
{
if ($serverinfo[$i]->name[$j] == $MAILSERVER)
return $serverinfo[$i];
}
}
}
/* imap server and port */
global $imapServer, $imapPort;
/* prefix for all other mailboxes other than inbox */
global $prefix;
/* are custom-folders sub-folders of Inbox? */
global $subfolders;
global $useEmail;
global $sentbox, $trashbox, $draftbox;
global $useAvatars;
/* Set time zone offset */
global $tz_offset;
/* do not edit -- mailserver -- do not edit*/
global $MAILSERVER;
global $database, $filtertable, $addresstable, $mysqlhost, $mysqlport, $mysqluser, $mysqlpass;
?> |
P.S. notafatchance is not my mysql password ;) _________________
 |
|
Back to top |
|
 |
roganty -
Joined: 08 Jun 2004 Posts: 357 Location: Bristol, UK
|
Posted: Sun Sep 19, 2004 3:41 pm Post subject: |
|
|
Q1:
have you got the "php_imap.dll" extension set in your "php.ini" file?
Q2:
what os are you using, because the extensions needed to run this is not supported on systems earlier than win 2000
php.net wrote: | IMAP is not supported on systems earlier that Windows 2000. This is because it uses encryption functions in order to enable SSL connections to the mail servers. |
hope this helps. _________________ Anthony R
Roganty | Links-Links.co.uk |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Sun Sep 19, 2004 5:17 pm Post subject: |
|
|
Its working now thx i had to enable the imap module for PHP. _________________
 |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|