Extension talk:AuthPOP3

From MediaWiki.org
Jump to navigation Jump to search

Hello, greetings from Portugal

I had a problem with your code, inside "function authenticate($user, $pass)" there was a problem here

$user = "$user@$maildomain";

since $maildomain was blank I guess the problem is that this variable was not passed to the function as argument

just had to redeclare the variables like this:


function authenticate($user, $pass) {

/** The part of your email adresses after the @ */
$maildomain = 'mydomain';
/** The server name for the pop3 server */
$mailserver = 'myip';


I tested this against an Exchange 2003 and it works.

So now everything works fine, thank you very much for this code.