channasmcs
(Channasmcs)
1
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();
Ankit_Modi
(Ankit Modi)
2
please change the password (your correct gmail password)
channasmcs
(Channasmcs)
3
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'=>array(
'class'=>'application.extensions.PHPMailer.JPhpMailer',
'Host'=>"stmp.gmail.com",
'Username'=>'channasmcs@gmail.com',
'Password'=>'chammasmcs',
'Mailer'=>'smtp',
'Port'=>465,
'SMTPAuth'=>true,
),
or have any method
Ankit_Modi
(Ankit Modi)
4
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
drxy
(Bilimarsivi)
6