Hertz Wang =CD=F5=BB=B3=D6=BE wrote:
> Hi All,
> =20
> I met another problem when try to use codestriker 1.9.2 Alpha2.
> =20
> When I create a new topic or add some comments, the mail notification=20
> doesn't work. this is the message I got,
> =20
> "5.7.0 No AUTH command has been given."
> =20
> My configration in codestriker.conf:
> $mailhost =3D 'pnmsmail.neusoft.com';
> =20
> my mail server need authorization, how can I solve this problem?
Open up the file: lib/Codestriker/TopicListeners/Email.pm and go to line
442, where you should see:
$smtp->mail($from);
Modify this code to read (substitute the strings with your actual
username/password values).
$smtp->auth('myusername', 'mypassword');
$smtp->mail($from);
Let me know if that work or not. If it does, I'll modify
codestriker.conf so that this extra mail config can be specified there.
Cheers,
David
|