Phpmailer

hi i’m using php mailer how config that extention in to gmail

i do it but message not sending

$mail = new JPhpMailer;

$mail->IsSMTP();

$mail->Host = ‘smtp.gmail.com’;

$mail->Port = ‘465’;

$mail->SMTPSecure = ‘SSL’;

$mail->SMTPAuth = true;

$mail->Username = ‘channasmcs@gmail.com’;

$mail->Password = ‘channasmcs’;

$mail->SetFrom(‘channasmcs@gmail.com’, ‘channasmcs’);

$mail->Subject = ‘Welcome to channa’;

$mail->AltBody = ‘To view the message, please use an HTML compatible email viewer!’;

$mail->MsgHTML(’<h1>JUST A TEST!</h1>’);

$mail->AddAddress(‘channasmcs@hotmail.com’, 'channa ');

$mail->Send();

please change the password (your correct gmail password)

i used correct password i want to config yii user management module using this extension

http://code.google.com/p/yii-user-management/source/browse/trunk/user/components/YumMailer.php?r=444

should i need to add code in mail.php like this or have any method

‘components’=>array(

  'PHPMailer'=&gt;array(


        'class'=&gt;'application.extensions.PHPMailer.JPhpMailer',


        'Host'=&gt;&quot;stmp.gmail.com&quot;,


        'Username'=&gt;'channasmcs@gmail.com',


        'Password'=&gt;'chammasmcs',


        'Mailer'=&gt;'smtp',


        'Port'=&gt;465,


        'SMTPAuth'=&gt;true, 


    


),

or have any method

i am not able to this username and passwod on gmail account…

have you login this username and password?

finally i make mail server using my other mail

Yii::import(‘application.extensions.phpmailer.JPhpMailer’);

$mail = new JPhpMailer;

$mail->IsSMTP();

$mail->Host = ‘mail.bizappsi.com’;

$mail->SMTPAuth = true;

$mail->Username = ‘channa@bizappsi.com’;

$mail->Password = ‘Solution4u’;

$mail->SetFrom(‘channa@bizappsi.com’, ‘BizAppsi’);

$mail->Subject = $model->subject;

$mail->AltBody = ‘To view the message, please use an HTML compatible email viewer!’;

$mail->MsgHTML(’<h1>’.‘we Will contact you’.’<br/>’.$model->body .’</h1>’);

$mail->AddAddress(‘channa@bizappsi.com’, ‘BizAppsi’);

$mail->AddAddress($model->email, $model->name);

$mail->Send();

how config this extension for YUMuser registation process

http://code.google.com/p/yii-user-management/wiki/CreateYourOwnRegistrationProccess

http://code.google.com/p/yii-user-management/source/browse/trunk/user/components/YumMailer.php?r=444

mail sending is not working

Did you browse this extension ?

http://www.yiiframework.com/extension/phpmailer/