Hi David,

Thank you for your reply, I replace 
$smtp->mail($from);
with
$smtp->auth('wanghz', 'hertzpswd');
$smtp->mail($from);

it doesn't work, 'hertzpswd' is my real password(of course, i changed it now :) 
)

and then i relpace $from with my email
$smtp->mail('[EMAIL PROTECTED]');

it doesn't help either.

 

Hertz Wang 
----- Original Message ----- 
From: "David Sitsky" <[EMAIL PROTECTED]>
To: "Hertz Wang 王怀志" <[EMAIL PROTECTED]>
Cc: <codestriker-user@lists.sourceforge.net>
Sent: Thursday, March 23, 2006 6:35 AM
Subject: Re: [Codestriker-user] Help -- mail configuration


> Hertz Wang 王怀志 wrote:
>> Hi All,
>>  
>> I met another problem when try to use codestriker 1.9.2 Alpha2.
>>  
>> When I create a new topic or add some comments, the mail notification 
>> doesn't work. this is the message I got,
>>  
>> "5.7.0 No AUTH command has been given."
>>  
>> My configration in codestriker.conf:
>> $mailhost = 'pnmsmail.neusoft.com';
>>  
>> 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
> 
>

Reply via email to