Qdsmtp-Simple SMTP Mailer for PHP

CakePHP潟潟若潟篏帥

Qdsmtp絽吾ゃ篁CakePHP潟潟若潟篏障
篏т戎с障Qdmail腟水c堺障

荐絎

/app/controllers/conponents/
<ゃ臀

篏帥潟潟若若с
var $conponentes = array( 'Qdsmtp' );



$this->Qdsmtp->mail(祉祉祉祉);
с罔羣mail∽違篏帥SMTP篆<с障

Qdmail腟水篏帥

腓榊$conponentes = array( 'Qdsmtp' );Qdmail茯粋昭с障*1

篏睡箴

$param = array(
	'host'=>'pop.example.com',
	'port'=>'587',
	'from'=>'address@example.com',
	'user'=>'postmaster@example.com',
	'pass' => 'password',
	'protocol'=>'SMTP_AUTH',
);

$this->Qdmail->to('to_address@example.com');
$this->Qdmail->subject('<若鴻');
$this->Qdmail->from('from@example.com');

$this->Qdmail->smtp(true);
$this->Qdmail->smtpServer($param);
$this->Qdmail -> cakeHtml('');

$fg=$this->Qdmail->send();

*1 : <腓榊絎