<?php
echo $this->Form->end(__('Submit'))
$to = "[email protected]"; $subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "[email protected]";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
嘿傢伙需要幫助在這裏!我想,當有人按下了提交按鈕,這樣可以節省並將進入到電子郵件的細節按下提交按鈕時發送電子郵件
和問題是什麼? – 2013-08-06 04:55:07
我,我想爲我的生日狗 –
,如果它不工作...我相信你會有一個錯誤...所以張貼錯誤太.. – bipen