How to use by Multibyte except JP-Qdmail
2008/04/15
$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 );