php geekmail smtp sunucu ayarı

0 Cevap

http://github.com/NeilCrosby/multi-level-vcards/blob/master/via-email/geekMail-1.0.php

Bu sınıf için bir link bulunuyor. Nasıl SMTP sunucusu ayarlayabilirsiniz?

Benim şu anki kod gibi görünüyor:

require_once( 'assetform/geekMail-1.0.php' );
$geekMail = new geekMail();
$geekMail->setMailType('html');
$geekMail->from('xx@gmail.com', 'no-reply');
$geekMail->to('xx@gmail.com');
$geekMail->subject('Request');
$geekMail->message('this is a test email.');
$geekMail->attach($path.'1287448945.pdf');

0 Cevap