/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
'port'=>'465', 'timeout'=>'30', 'auth' => true, 'host' => 'ssl://smtp.gmail.com', 'username'=>'youraccount@gmail.com', 'password'=>'yourpassword' ); $this->Email->to = 'test <test@gmail.com>'; // important: name <mailaddress> $this->Email->subject = "email di prova"; $this->Email->delivery = 'smtp'; $this->Email->send();
Comments
