ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: DW on February 03, 2005, 06:59:48 pm

Title: Recover ListMail Admin Password
Post by: DW on February 03, 2005, 06:59:48 pm
Your password is stored in your ListMail MySQL database in the "admpw" field of the "lm_config" table.  The value can be viewed with PhpMyAdmin, commonly available from your hosting control panel, or by using a custom PHP script, below:

Copy the following code into a new file, such as "recover_pw.php".  Upload the file to your main ListMail directory and browse to it.

Code: [Select]
<php>0){
list($pw)=mysql_fetch_row($row);
echo "  your password is <b>$pw</b><br>";
} else {
echo "<b>  could not read config!</b><br>";
}


?>
Title: Just what I needed
Post by: lewis.wolk on July 07, 2005, 06:48:28 am
Thanks Dean.
Your a lifesaver :)
Lewis

oops I get the following error.
retrieving password.. your password is

However if I try and login with no password it tells me the password is wrong.
Title: Recover ListMail Admin Password
Post by: DW on July 07, 2005, 05:24:02 pm
Sorry, this is undocumented... A blank password means the password will be "install".

Regards
Title: forgotten password to access my listmail
Post by: drostlelistmail on August 02, 2007, 03:54:57 am
I though I knew my password, but I have either forgotten or something else is going on. When I try to login I either get a blank page or the bad password page. I tried uploading the recover_pw.php but got the following message when browsed...

<?php
// show admin password from ListMail
$listmail_dir = ".";
include($listmail_dir."/config.php");
include($listmail_dir."/admin.php");

$link = mysql_connect($sqlhost, $sqluser, $sqlpass) or die("Can't connect to MySQL");
mysql_selectdb($sqldb) or die("Can't select database, does it exist?");

echo "retrieving password.. ";

$row = mysql_query("select admpw from $ctable where 1");
if(mysql_num_rows($row)>0){
list($pw)=mysql_fetch_row($row);
echo " your password is <b>$pw</b><br>";
} else {
echo "<b> could not read config!</b><br>";
}


?>
Title: Recover ListMail Admin Password
Post by: DW on August 02, 2007, 05:47:17 am
The PHP code itself should definitely not be displayed when you browse to the php file.  (Could there be a space or something at the end of the filename?)  I suspect this is a temporary web hosting problem.  If it persists please contact your web host to have them look into it.



Regards