look into /app/config/bootstrap.php file 
you should have settings something like: 

 Configure::write('Site.contact_email', 'whatever@your_site.com');
 Configure::write('Site.contact_email_subject', 'some subject'); 


On Wednesday, March 27, 2013 10:32:48 AM UTC-7, Ellie Quick wrote:
>
> Help,
>
> Im a fairly experienced php coder however Ive been given access to a site 
> (as the author is no longer contactable) written using CakePHP and Im 
> totally and utterly lost as to how to make the fairly urgently required 
> fixes.
>
> Theres a contact form on one of the pages which doesnt work, no error 
> messages to say whats wrong, Its meant to send an email to the site owner 
> but nothing is ever received. Now this could be as simple as the wrong 
> email address being used through to there simply being no back end code for 
> sending the mail.
>
> ive found a file called "contacts_controller.php" which contains an email 
> function which is clearly designed to send the relevant emails however the 
> bit thats losing me is:
>
> $email_to = Configure::read('Site.contact_email');
> $email_subject = Configure::read('Site.contact_email_subject');
> $email_from = Configure::read('Site.contact_email_from');
>
> I cant find anywhere, either in the site server files or the relevant 
> database anything that appears to hold these variables.
>
> Am I being dim?
>

-- 
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.


Reply via email to