Re: email sending

2010-05-08 Thread MANOJ DHAMAL
no i not installed any MTA. Is it neccessary?

On May 8, 5:45 pm, "Ma'moon"  wrote:
> Do you have any MTA installed in your server?
>
> On Sat, May 8, 2010 at 8:36 AM, MANOJ DHAMAL wrote:
>
>
>
> > I have to send email to user when he/she completes registration.
>
> > i have used component in controller like
>
> > var $components = array('Email');
>
> > i am using function call  for sending mail like
>
> > $this->sendNewUserMail();
>
> > And funcion is as,
>
> > function sendNewUserMail(){
>
> >     $this->Email->to      = 'manoj.dham...@gmail.com';
> >     $this->Email->subject = 'Test';
> >     $this->Email->send('Hello Hi MANOJ!');
>
> >        }
>
> > when i perform registration, it completes successfilly but i didn't
> > get any message at manoj.dham...@gmail.com
>
> > Control reaches successfully at funcion and executes the function but
> > it not send any mail.
> > WHY?
> > Plz give me any solution.
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.comFor
> >  more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with 
> their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


email sending

2010-05-08 Thread MANOJ DHAMAL
I have to send email to user when he/she completes registration.

i have used component in controller like

var $components = array('Email');

i am using function call  for sending mail like

$this->sendNewUserMail();

And funcion is as,

function sendNewUserMail(){

 $this->Email->to  = 'manoj.dham...@gmail.com';
 $this->Email->subject = 'Test';
 $this->Email->send('Hello Hi MANOJ!');

}

when i perform registration, it completes successfilly but i didn't
get any message at manoj.dham...@gmail.com

Control reaches successfully at funcion and executes the function but
it not send any mail.
WHY?
Plz give me any solution.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


how to send email in cakephp

2010-05-08 Thread MANOJ DHAMAL
How to send email for welcome message when user do login? Which
components required for it?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


how to get values at .ctp file

2010-05-05 Thread MANOJ DHAMAL
hi ,
I am using combobox in view.ctp like

select('perpage_id',$per_page,null,array('id'=>'perpage'),false); ?>

In the same ctp(view.ctp) i want fetch selected value of combobox in
variable

$perpage= //HERE IS CODE TO GET VALUE OF COMBOBOX;

Idont know how to fetch values of fields before submit the form in cakephp.
Please give solution...
   Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


how to get values at .ctp file

2010-05-05 Thread MANOJ DHAMAL
hi ,
I am using combobox in view.ctp like

select('perpage_id',
$per_page,null,array('id'=>'perpage'),false); ?>

In the same ctp(view.ctp) i want fetch selected value of combobox in
variable

$perpage= //HERE IS CODE TO GET VALUE OF COMBOBOX;

Idont know how to fetch values of fields before submit the form in
cakephp.
Please give solution...
   Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


how to get values at .ctp file

2010-05-05 Thread MANOJ DHAMAL
hi ,
I am using combobox in view.ctp like

select('perpage_id',
$per_page,null,array('id'=>'perpage'),false); ?>

In the same ctp(view.ctp) i want fetch selected value of combobox in
variable

$perpage= //HERE IS CODE TO GET VALUE OF COMBOBOX;

Idont know how to fetch values of fields before submit the form in
cakephp.
Please give solution...
   Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: pass data from view to controller using ajax

2010-04-27 Thread MANOJ DHAMAL
Hi,
I am using three combobox in .ctp file.
Like
select('category_id',$category_options,
$category_selected,array('id'=>'category','class'=>'search_input'),false); ?
>

select('type_id',$type_options,
$type_selected,array('class'=>'search_input'),false); ?>

select('sortby_id',
$sort_by,null,array('id'=>'sortby'),false); ?>

For third combo i m using ajax, so i used observeField method to find
change at state of third combo which calls action
sort_property_searchresult like..

observeField('sortby',array('url'=>'/properties/
sort_property_searchresult','update'=>'property_showcase_table'));?>

At sort_property_searchresult() i want fetch values of all comboboxes
like

 $category=$this->data['Property']['category_id'];

 $type=$this->data['Property']['type_id'];

$sortbyvalue=$this->data['Property']['sortby_id'];

But i found value of $sortbyvalue, so please tell me how to fetch
values of all comboboxes? Thanks..

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


pass data from view to controller using ajax

2010-04-27 Thread MANOJ DHAMAL
How to pass data two or more fields from view to controller by usin
ajax in cakephp ?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


ajax+jquery with cake

2010-04-23 Thread MANOJ DHAMAL
Hi All,
I ma first time working on project in cakephp . I m using ajax and jquery
both in project. When i include prototype.js for ajax it affects to jquery,
jquery not works . Any solution for this?

Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


ajax+jquery with cake

2010-04-23 Thread MANOJ DHAMAL
I m new with cake. i m usung jquery and ajax both with cake . when i
include prototype.js in project then jquery not works . Any solution
for that.
   thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


how to include one .ctp file

2010-04-16 Thread MANOJ DHAMAL
I want know how to include one .ctp file in another .ctp file

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en