Qdsmtp-Simple SMTP Mailer for PHP

荐絎

Qdsmtp茯荐若綽荀泣若若POP Before SMTPSMTP AUTH(PLAIN)3劫絲上障泣激с潟若絎翫с紊т紊с

茯荐若綽荀SMTP泣若若翫

require_once('qdsmtp.php');

$param = array(
    'host'=>'smtp.example.com',
    'port'=> 25 ,
    'from'=>'from@example.com',
    'protocol'=>'SMTP',
);
$smtp = & new QdSmtp($param);

PHP5сnew鐚綽荀障
泣激с潟若絎翫筝荐'port'ゃ絎医ゃ(絽吾25 -> 587)
若紊ф絖с絨絖阪ャ障

<若帥絎newсnew緇篁ヤф絎с障
$smtp -> server( $param );
障Fromゃ篁ヤ絎号с障(0.2.0a篁ラ鐚
    'from'=>'<from@example.com>',

    'from'=>'<from@example.com> add_parameter',

POP Before SMTP荐絎

篁ュ<若翠粋莠障
$param = array(
    'host'=>'smtp.example.com',
    'port'=> 25,
    'from'=>'from@example.com',
    'protocol'=>'POP_BEFORE',
    'pop_host' =>'pop.example.com',
    'pop_user' => 'username',
    'pop_pass'=>'password',
);

SMTP AUTH荐絎

篆<泣若若с茯荐若綽荀泣若若絲上с
PLAIN茯荐若帥絲上с
$param = array(
    'host'=>'smtp.example.com',
    'port'=> 587,
    'from'=>'address@example.com',
    'protocol'=>'SMTP_AUTH',
    'from'=>'from@example.com',
    'user'=>'username',
    'pass' => 'password',
);

茯茘

Qdmail<若帥'protocol'ャ翫SMTP AUTH -> POP Before SMTP -> 若SMTP・膓荅帥障
泣若若茯荐惹劫翫POP BeforeSMTP AUTH<若帥祉'protocol'ャ篏帥c帥筝
綺с茯荐惹劫c翫腓榊絎祉с

# SMTP AUTH荐絎ゃ 荐菴違c筝桁cс from2ャ紊т紊с鐚(2015/07/28 19:35)

  • 堺篏帥 Qdsmtp-Simple SMTP Mailer for PHP spok
    綽荐絎茵c筝篁ヤ障$smtp -> to( 'address@example.com' );$smtp -> data( '若+' );$smtp -> send();羈 data...
  • 膂≦ Qdsmtp-Simple SMTP Mailer for PHP spok
    綽荐絎茵c筝<若罨<障$smtp -> mail( '' , '蕁' , '' , '菴遵鐚ュ鐚' , 'MTA激с鰹ュ鐚' )綣違潟PHP罔羣mail()∽違...
  • 篏帥(Howto) Qdsmtp-Simple SMTP Mailer for PHP spok
    Qdsmtp篏帥刻罨¥演荐絎鐚SMTP泣若取┃絎鐚膂≦篏帥(mail∽違ゃ)篋榊篏帥(蕭篏)激с潟井盾潟若潟若若
  • Qdsmtp Qdsmtp-Simple SMTP Mailer for PHP spok
    PHP罔羣mail()∽違篏睡с医сc荵純<若ゃс隙紊SMTP泣若若・膓<若障localhostSMTP泣若若翫mail()∽違...
  • Qdmail腟水ユ茯<若SMTP篆< Qdsmtp-Simple SMTP Mailer for PHP spok
    ゃ鐚SMTP篆Qdmail膂≦蕭罘醇ユ茯鐚ゃ鐚<若ゃсQdmailQdsmtp腟水PHPmail∽違篏帥ユ茯<若с障腟水鴻ゃ潟若鴻c鐚Q...