i want send email,but i have this error:

Warning (2): getmypid() has been disabled for security reasons [CORE/
cake/libs/string.php, line 89]


where is my problem

my controller:

if (!empty($this->data)) {
                $this->Email->from    = 'example <[email protected]>';
                $this->Email->to      = 'example <[email protected]>';
                $this->Email->subject = '>'. 
$this->data['Pages']['name'].'_'.$this-
>data['Pages']['email'];
                $this->Email->send($this->data['Pages']['message']);
                $this->Session->setFlash(__('Your message send!', true));

                }

my view:

 <?php echo $this->Form->create('Pages'); ?>
            Name:<?php echo $this->Form->input('name', array('label'
=> '')); ?>
            Email:<?php echo $this->Form->input('email', array('label'
=> '')); ?>
            Message:<?php echo $this->Form->textarea('message'); ?>
            <?php echo $this->Form->end('Send'); ?>
            <?php echo $this->Session->flash(); ?>

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to