Re: How to send Email in Cakephp
hi Santhos, follow below process UsersController: in add method You have to copy past same as.. Step 1: /** * add method * * @return void */ public function add() { if ($this->request->is('post')) { $this->User->create(); if ($this->User->save($this->request->data)) { *$this->__sendEmailConfirm($this->User->id); --> U have to add this line.* $this->Session->setFlash(__('The user has been saved')); $this->redirect(array('action' => 'index')); } else { $this->Session->setFlash(__('The user could not be saved. Please, try again.')); } } } public function __sendEmailConfirm($user_id) { App::uses('CakeEmail', 'Network/Email'); $user = $this->User->find('first',array('conditions'=>array('User.id' => $user_id),'fields'=>array('User.id','User.email','User.username'),'recursive'=>0)); if ($user === false) { debug(__METHOD__." failed to retrieve User data for user.id: {$user_id}"); return false; } $name = $user['User']['username']; $emailname = $user['User']['email']; $email = new CakeEmail(); $email->from(array('noreply@'.env('SERVER_NAME') => 'MY Site')); $email->to($user['User']['email']); $email->subject(env('SERVER_NAME') . ' Please confirm your email address'); $email->template('user_confirm'); $email->viewVars(array('username' => $name,'emailname' =>$emailname)); $email->emailFormat('html'); return $email->send(); } *Step 2:* *view/users/user_confirm.ctp:* * * * * Put below code in user_confirm.ctp * * above code is working successfully.just follow thant one. * * On Thu, May 16, 2013 at 4:11 PM, Santosh Verma wrote: > how to use mulltiple dropdown list,checkbox ,radio buttons in cake-php in > registration page? > > On Wednesday, 14 September 2011 22:11:21 UTC+5:30, tubiz wrote: >> >> Please I have a register action in my user controller how do i send a >> mail to a user after he has successfully registered and his details >> has been stored in the database. >> >> I would like to use Google SMTP to send the mail. >> >> How do I also send a mail to all registered users as well. > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cake-php+unsubscr...@googlegroups.com. > To post to this group, send email to cake-php@googlegroups.com. > Visit this group at http://groups.google.com/group/cake-php?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to send Email in Cakephp
how to use mulltiple dropdown list,checkbox ,radio buttons in cake-php in registration page? On Wednesday, 14 September 2011 22:11:21 UTC+5:30, tubiz wrote: > > Please I have a register action in my user controller how do i send a > mail to a user after he has successfully registered and his details > has been stored in the database. > > I would like to use Google SMTP to send the mail. > > How do I also send a mail to all registered users as well. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: cakephp 1.3 how to send email
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Joseph, I post an example I have in a 1.3 app working: In a controller I want to receive an email in a certain case: if($this->data['Rating']['kommentar'] != ''){ // notification that a comment was posted $this->Email->from= 'Zigarrenlounge '; $this->Email->to = 'Zigarrenlounge '; $this->Email->subject = 'My wonderful email subject'; $this->Email->send('And here come sthe text of the email I want to send.'); } In my AppController.php I have: var $components = array('Session','Auth','MathCaptcha','Email'); So I have activated the email component. That should be the magic of course on your webserver you need any email activated, but the avarge hoste has that by default. Calamity Jane P.S. I hope I could help for once :) Am 04.03.2013 19:32, schrieb Joseph zhu: > Hello there: > I am a new for cakephp, I want to know how to make send email function. > Who can help me, and give me some detail instructions. > Thank you so much. > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlE2TpsACgkQbOdiIJzHNKFdJQCgrp4G6MyyZeShNpWVzcFl9MkW cxcAnRUZIX3pm4Il15qiQj3xyZqq5+37 =aDt2 -END PGP SIGNATURE- -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
cakephp 1.3 how to send email
It is all detailed in the book (book.cakephp.org). Give it a read. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
cakephp 1.3 how to send email
Hello there: I am a new for cakephp, I want to know how to make send email function. Who can help me, and give me some detail instructions. Thank you so much. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to send Email in Cakephp
take a look at the book http://book.cakephp.org/view/1290/Sending-A-Message-Using-SMTP $this->Email->smtpOptions = array( 'port'=>'465', 'timeout'=>'30', 'host' => 'ssl://smtp.gmail.com', 'username'=>'your_usern...@gmail.com', 'password'=>'your_gmail_password', ); something like this if ($this->User->save($this->data)) { $this->Email->from= ' '; $this->Email->to = 'your name '; $this->Email->subject = 'some subject'; $this->Email->template = 'name of your email temp with no ctp extension'; $this->Email->sendAs = 'html'; $this->set(compact(' set your variables ' )); $this->Email->send() ; } } On Sep 14, 9:41 am, tubiz wrote: > Please I have a register action in my user controller how do i send a > mail to a user after he has successfully registered and his details > has been stored in the database. > > I would like to use Google SMTP to send the mail. > > How do I also send a mail to all registered users as well. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
Re: How to send Email in Cakephp
For 1.3: http://book.cakephp.org/view/1290/Sending-A-Message-Using-SMTP For 2.0: http://book2.cakephp.org/en/core-utility-libraries/email.html Both include gmail examples :). On Sep 14, 6:41 pm, tubiz wrote: > Please I have a register action in my user controller how do i send a > mail to a user after he has successfully registered and his details > has been stored in the database. > > I would like to use Google SMTP to send the mail. > > How do I also send a mail to all registered users as well. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
Re: How to send Email in Cakephp
What CakePHP version are you using ? On Wed, Sep 14, 2011 at 7:41 PM, tubiz wrote: > Please I have a register action in my user controller how do i send a > mail to a user after he has successfully registered and his details > has been stored in the database. > > I would like to use Google SMTP to send the mail. > > How do I also send a mail to all registered users as well. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > 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 > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
How to send Email in Cakephp
Please I have a register action in my user controller how do i send a mail to a user after he has successfully registered and his details has been stored in the database. I would like to use Google SMTP to send the mail. How do I also send a mail to all registered users as well. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
Re: how to send email per 5 min in cakephp 1.3
On Jun 9, 2011, at 08:05, sandeep sachan wrote: > I am trying to send mail its work to every 5 min to send email in user > account but one problem is there can you solve this problem ... problem is > that when i m sending mail its sleep for 5 min and this time i m trying to > viewing view detail of users but its not show .. sleep thread is working ... > i dont didint get any solution to slove this problem plz...help me .!!! As previously discussed, I assume you're calling this sendmail() method from a CakePHP shell script that's being started by cron at some convenient interval. As such, I don't see how it would affect anything that happens in a user's web browser. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
Re: how to send email per 5 min in cakephp 1.3
hello every one I am trying to send mail its work to every 5 min to send email in user account but one problem is there can you solve this problem ... problem is that when i m sending mail its sleep for 5 min and this time i m trying to viewing view detail of users but its not show .. sleep thread is working ... i dont didint get any solution to slove this problem plz...help me .!!! this is cod i m using in user_controller : function sendmail() { set_time_limit(0); $secs = 2; for($i=0;$i<$secs;$i++) { $this->_sendNewUserMail( $this->User->id ); echo "\n$secs\n"; $secs += 1; sleep(300); //$this->redirect(array('action' => 'index')); } } function _sendNewUserMail($id) { $User = $this->User->read(null,$id); $list = $this->User->query("SELECT * FROM users "); $data = $this->User->find($id); $this->Email->bcc = array('sec...@example.com'); $this->Email->subject = 'Welcome to our really cakephp thing'; $this->Email->replyTo = 'sand...@sachan.com'; $this->Email->from = 'sandeep '; $this->Email->template = 'simple_message'; // note no '.ctp' //Send as 'html', 'text' or 'both' (default is 'text') $this->Email->sendAs = 'both'; // because we like to send pretty mail //Set view variables as normal $this->set('User', $User); //Do not pass any args to send() $this->Email->attachments = array( TMP . 'foo.doc','bar.doc' => TMP . 'some-temp-name'); /* SMTP Options */ /* $this->Email->smtpOptions = array( 'port'=>'25', 'timeout'=>'30', 'host' => 'https://www.gmail.com', 'username'=>'s.sammy1...@gmail.com', 'password'=>'48sammy168880', 'client' => 'localhost' ); */ /* Set delivery method */ // $this->Email->delivery = 'smtp'; foreach($list as $info) { $this->Email->to = $info['users']['name']; if ( $this->Email->send() ) { $this->Session->setFlash('Simple email sent'); } else { $this->Session->setFlash('Simple email not sent'); } } $this->Email->reset(); /* Check for SMTP errors. */ } -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
Re: how to send email per 5 min in cakephp 1.3
On Jun 7, 2011, at 23:31, Sergei wrote: > I recommend making dedicated script for this task and scheduling it with > cron. Dont use CakePHP for scheduled tasks, it's overkill for the server. There's no problem using CakePHP as the framework for that dedicated script. If you want to send scheduled emails based on something in your database, it makes perfect sense to do so. There is documentation in the CakePHP book on how to write CakePHP shell scripts: http://book.cakephp.org/view/1107/Creating-Shells-Tasks I agree though that there is no reason to have cron call up a web URL; there is no need to involve a web server in your email sending process, unless there is actually a user submitting something on the web page and thus initiating the email. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
Re: how to send email per 5 min in cakephp 1.3
I recommend making dedicated script for this task and scheduling it with cron. Dont use CakePHP for scheduled tasks, it's overkill for the server. S. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
Re: how to send email per 5 min in cakephp 1.3
you can create the sending email page, with parameter if you likke, and for the timer, scheduled with cron and call your cake file path using curl/wget, just like a web browser request. you can call it from the local machine or from other machine using curl or wget. On Tue, Jun 7, 2011 at 9:15 PM, sandeep sachan wrote: > > > hello, everyone > > > I am new in cakephp ..i am trying to send email to multi users .. > but this email send per 1 min every user can you help me ..??? > /// > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > 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 > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
how to send email per 5 min in cakephp 1.3
hello, everyone I am new in cakephp ..i am trying to send email to multi users .. but this email send per 1 min every user can you help me ..??? /// -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
how to send email per 5 min in cakephp 1.3
hello, everyone I am new in cakephp ..i am trying to send email to multi users .. but this email send per 1 min every user can you help me ..??? /// -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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
Re: how to send email in cakephp
hi, In cake php Email component is there use this component of cake php Bye On Sat, May 8, 2010 at 5:11 PM, MANOJ DHAMAL wrote: > 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.comFor > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > -- Dilip Godhani Jr Software Developer, Entourage Solutions e-mail: di...@entouragesolutions.com dilip.godh...@gmail.com Web.: www.entouragesolutions.com m. 9913822582 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: how to send email in cakephp
A small google search will lead you to http://book.cakephp.org/view/176/Email On Sat, May 8, 2010 at 7:41 AM, MANOJ DHAMAL wrote: > 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.comFor > more options, visit this group at > http://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
how to send email in cakephp
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
Re: how to send email
you can use the phpmailer component to send email to gmail or yahoo. once you have copied the phpmailer folder to your app\vendors folder, please edit the email.php file in the app\controllers\components folder. In email.php pls edit the send() function with the following, i have shown mail sending for gmail: $mail->Host = "smtp.gmail.com"; $mail->SMTP_PORT= 465; $mail->SMTPSecure = "ssl"; $mail->Username = SMTP username //add ur gmail id here $mail->Password = SMTP password //password for the above id Then add this line to ur controller file : var $components = array('Email'); Next u can call the mail component from ur controller function as follows: $fromId = //the id u want to see in the to section of ur mail $fromName = //name $emailBody= //content of email - string $this->set('data', $emailBody); $this->Email->from = $fromId; $this->Email->fromName = $fromName; $this->Email->to = $toId;//define to id $this->Email->BodyHTML =$content; $this->Email->subject = $subject; ($this->Email->send() - send email On Mar 20, 7:03 am, nhathoang nhathoang wrote: > I used to send mail by cakephp but not to succeed, I don't know why, there > is a way to send mail you should use which is phpmailer, you show write a > component and attach phpmailer to it > > 2009/3/20 dr. Hannibal Lecter > > > > > > > You send an email to yahoo and gmail the same way you send to any > > other account, right? > > > Also, why are you working on cakephp 1.1? > > > On Mar 19, 2:40 pm, sandhya wrote: > > > send email to yahoo and gmail accounts using cakephp 1.1.19.6305- Hide > > > quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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: how to send email
I used to send mail by cakephp but not to succeed, I don't know why, there is a way to send mail you should use which is phpmailer, you show write a component and attach phpmailer to it 2009/3/20 dr. Hannibal Lecter > > You send an email to yahoo and gmail the same way you send to any > other account, right? > > Also, why are you working on cakephp 1.1? > > On Mar 19, 2:40 pm, sandhya wrote: > > send email to yahoo and gmail accounts using cakephp 1.1.19.6305 > > > --~--~-~--~~~---~--~~ 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: how to send email
You send an email to yahoo and gmail the same way you send to any other account, right? Also, why are you working on cakephp 1.1? On Mar 19, 2:40 pm, sandhya wrote: > send email to yahoo and gmail accounts using cakephp 1.1.19.6305 --~--~-~--~~~---~--~~ 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
send email to yahoo and gmail accounts using cakephp 1.1.19.6305 --~--~-~--~~~---~--~~ 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: how to send email request
Two easy steps: 1. Read the manual at http://manual.cakephp.org or use google to find a suitable tutorial. 2. Sit down an code. - Dardo Sordi. On Mon, Nov 10, 2008 at 3:11 AM, Elavavazhagan Chidambaram <[EMAIL PROTECTED]> wrote: > hi; > now i want email request link(for example i join the member the provider > give the link) > so how i sent the email link > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
how to send email request
hi; now i want email request link(for example i join the member the provider give the link) so how i sent the email link --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email using build-in email component
I made it with SMTP gmail account. On Aug 24, 3:23 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > thanks for your reply. Does that mean firstly I need to set up a mail > server on my machine, and then try to use php mail function to see > what is happening? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email using build-in email component
thanks for your reply. Does that mean firstly I need to set up a mail server on my machine, and then try to use php mail function to see what is happening? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email using build-in email component
Hi By default, it'll simply use the mail() php function (see the email component sourcecode). You should first try to use "mail()" without Cake, to see if it's a Cake issue or not (I think it's not). If your mail never arrives, then your problem is likely with your server setup, not with Cake. If so, it can be an issue with your php configuration (see: http://fr.php.net/manual/en/mail.configuration.php), or with your sendmail configuration, and lots of other things... + Clément On Sun, Aug 24, 2008 at 11:38 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, there > > I have the following code to send a very simple email, > > $this->Email->to = '[EMAIL PROTECTED]'; > $this->Email->subject = 'Welcome to our website'; > $success = $this->Email->send('Welcome to our website. Please login > using the following link'); > > if ($success) > { >$this->Session->setFlash('Information: email was sent.',null); > } > else > { >$this->Session->setFlash('Information: Failed to send > email.',null); > } > > well, function send return true in this case. Does that mean it > already sent the email? Why didn't I see the email in my gmail > account? > > I didn't add/create any mail system on my linux system. The only thing > I can ensure is my compute is access to internet. > > Cakephp version: 1.2RC > > I'd appreciate your help very much. > > Thanks, > Bo > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
How to send email using build-in email component
Hi, there I have the following code to send a very simple email, $this->Email->to = '[EMAIL PROTECTED]'; $this->Email->subject = 'Welcome to our website'; $success = $this->Email->send('Welcome to our website. Please login using the following link'); if ($success) { $this->Session->setFlash('Information: email was sent.',null); } else { $this->Session->setFlash('Information: Failed to send email.',null); } well, function send return true in this case. Does that mean it already sent the email? Why didn't I see the email in my gmail account? I didn't add/create any mail system on my linux system. The only thing I can ensure is my compute is access to internet. Cakephp version: 1.2RC I'd appreciate your help very much. Thanks, Bo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email in cake php
I am using php cake version 1.1.19.6305 On Apr 22, 2:55 pm, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote: > Are you using the 1.2 branch? > > http://api.cakephp.org/1.2/class_email_component.htmlhttp://book.cakephp.org/view/176/email > > On Apr 22, 9:49 am, Rocky <[EMAIL PROTECTED]> wrote: > > > Would you plz tell me the coding of controlle,views etc. I had already > > include phpmailer > > > Thanks > > > On Apr 22, 11:40 am, k10 <[EMAIL PROTECTED]> wrote: > > > > Tryhttp://sourceforge.net/phpmailer.Youcoulduse this with the > > > vendor function incake. > > > > Hope it helps. > > > -Ketan.http://www.innovatechnologies.inhttp://www.propertyjungle.in > > > > On Apr 22, 1:43 am, Rocky <[EMAIL PROTECTED]> wrote: > > > > > Plz let me know how tosendemailthroughcakephp > > > > > Thanks > > > > Rocky --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email in cake php
Do you need simple or HTML email? Do you use local email sending server or a remote one? Do you intend sending to specific email addresses (mostly internal) or to any host (including yahoo, hotmail that could cause headaches by emails going to junk) Szilard On Tue, Apr 22, 2008 at 10:49 AM, Rocky <[EMAIL PROTECTED]> wrote: > > Would you plz tell me the coding of controlle,views etc. I had already > include phpmailer > > Thanks > > On Apr 22, 11:40 am, k10 <[EMAIL PROTECTED]> wrote: > > Tryhttp://sourceforge.net/phpmailer.You could use this with the > > vendor function incake. > > > > Hope it helps. > > -Ketan.http://www.innovatechnologies.inhttp://www.propertyjungle.in > > > > On Apr 22, 1:43 am, Rocky <[EMAIL PROTECTED]> wrote: > > > > > Plz let me know how tosendemailthroughcakephp > > > > > Thanks > > > Rocky > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email in cake php
I would recommend you to check out the cake bakery and the manual first. bakery ==> bakery.cakephp.org. Anyhow I searched on the bakery and found this http://bakery.cakephp.org/articles/view/sending-email-with-phpmailer Hope it helps. -Ketan. http://www.innovatechnologies.in http://www.propertyjungle.in On Apr 22, 12:49 pm, Rocky <[EMAIL PROTECTED]> wrote: > Would you plz tell me the coding of controlle,views etc. I had already > include phpmailer > > Thanks > > On Apr 22, 11:40 am, k10 <[EMAIL PROTECTED]> wrote: > > > > > > > Tryhttp://sourceforge.net/phpmailer.Youcould use this with the > > vendor function incake. > > > Hope it helps. > > -Ketan.http://www.innovatechnologies.inhttp://www.propertyjungle.in > > > On Apr 22, 1:43 am, Rocky <[EMAIL PROTECTED]> wrote: > > > > Plz let me know how tosendemailthroughcakephp > > > > Thanks > > > Rocky --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email in cake php
Please reply to the whole group, for future reference. You wrote: > Well, I am using cake php version 1.1.19.6305 Did you read these articles on the bakery? http://bakery.cakephp.org/tags/view/phpmailer On Apr 22, 11:55 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote: > Are you using the 1.2 branch? > > http://api.cakephp.org/1.2/class_email_component.htmlhttp://book.cakephp.org/view/176/email > > On Apr 22, 9:49 am, Rocky <[EMAIL PROTECTED]> wrote: > > > Would you plz tell me the coding of controlle,views etc. I had already > > include phpmailer > > > Thanks > > > On Apr 22, 11:40 am, k10 <[EMAIL PROTECTED]> wrote: > > > > Tryhttp://sourceforge.net/phpmailer.Youcoulduse this with the > > > vendor function incake. > > > > Hope it helps. > > > -Ketan.http://www.innovatechnologies.inhttp://www.propertyjungle.in > > > > On Apr 22, 1:43 am, Rocky <[EMAIL PROTECTED]> wrote: > > > > > Plz let me know how tosendemailthroughcakephp > > > > > Thanks > > > > Rocky --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email in cake php
Are you using the 1.2 branch? http://api.cakephp.org/1.2/class_email_component.html http://book.cakephp.org/view/176/email On Apr 22, 9:49 am, Rocky <[EMAIL PROTECTED]> wrote: > Would you plz tell me the coding of controlle,views etc. I had already > include phpmailer > > Thanks > > On Apr 22, 11:40 am, k10 <[EMAIL PROTECTED]> wrote: > > > Tryhttp://sourceforge.net/phpmailer.Youcould use this with the > > vendor function incake. > > > Hope it helps. > > -Ketan.http://www.innovatechnologies.inhttp://www.propertyjungle.in > > > On Apr 22, 1:43 am, Rocky <[EMAIL PROTECTED]> wrote: > > > > Plz let me know how tosendemailthroughcakephp > > > > Thanks > > > Rocky --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email in cake php
Would you plz tell me the coding of controlle,views etc. I had already include phpmailer Thanks On Apr 22, 11:40 am, k10 <[EMAIL PROTECTED]> wrote: > Tryhttp://sourceforge.net/phpmailer.You could use this with the > vendor function incake. > > Hope it helps. > -Ketan.http://www.innovatechnologies.inhttp://www.propertyjungle.in > > On Apr 22, 1:43 am, Rocky <[EMAIL PROTECTED]> wrote: > > > Plz let me know how tosendemailthroughcakephp > > > Thanks > > Rocky --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email in cake php
Try http://sourceforge.net/phpmailer .You could use this with the vendor function in cake. Hope it helps. -Ketan. http://www.innovatechnologies.in http://www.propertyjungle.in On Apr 22, 1:43 am, Rocky <[EMAIL PROTECTED]> wrote: > Plz let me know how to send email through cake php > > Thanks > Rocky --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
How to send email in cake php
Plz let me know how to send email through cake php Thanks Rocky --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---