in vbms_functions.php look for
Quote:
// convert ab aliases to actuals
$result = $db->query("
SELECT LCASE(alias) AS alias, actual FROM " . TABLE_PREFIX . "vbms_addressbook
WHERE userid = " . $bbuserinfo['userid']);
|
and replace with
PHP Code:
$alias=str_replace("\"","",$to);
// convert ab aliases to actuals
$result = $db->query("
SELECT LCASE(alias) AS alias, actual FROM " . TABLE_PREFIX . "vbms_addressbook
WHERE alias='$alias' AND userid = " . $bbuserinfo['userid']);
before sending, the script looks at the address book for an alias and if you do have an address book, it assumes that the entry exists, not taking into consideration new emails that you are replying to. Since it will not find it, it will throw an error.
The fix above introduce the alias in the WHERE clause, so if alias is not in there it will ignore it and send the mail without errors.