ようこそゲストさん

Qdmail - PHP::Mail Library , Quick and Detailed for Multibyte

How to use by Multibyte except JP-Qdmail

PHP4
$mail = new & Qdmail( 'charset' , 'encoding' );
PHP5
$mail = new Qdmail( 'charset' , 'encoding' );
e.g Korean
$mail = new Qdmail( 'iso-0000-kr' , '7bit' );
recommend
$mail = new Qdmail( 'utf-8' , 'base64' );

sample1 OOP mode

$mail = & new Qdmail();

$mail -> to( 'address@example.com' , 'display_name_by_multibyte' );
$mail -> subject( 'By Multibyte' );
$mail -> text( 'By Multibyte' );
$mail -> from( 'from@example.com' , 'display_name_by_multibyte' );

$mail ->send();

sample2 easy Method

$mail -> easyText(
      array( 'mailto@example.com' , 'display_name_by_multibyte' ),
      'Subject By Multibyte' ,
      'Body By Multibyte',
      array('from@example.com' , 'display_name_by_multibyte' )
 );

qd_send_mail


$attach = array( 'test.jpg' , 'attached_finename_by_Multibyte.jpg');

qd_send_mail(
     'text',
     array('to@address','display_name_by_multibyte'),
     'Subject by Multibyte',
     'Body by Multibyte',
     array('from@address','display_name_by_multibyte'),
     $attach
 );

#  非公開コメント   
  • TB-URL  http://hal456.net/qdmail/03/tb/