Smtp ทำยังไงครับ

มันคืออะไรไม่รู้แต่ผมจะส่ง mail มันมีช่องที่ต้องใส่

$mail->IsSMTP(); // telling the class to use SMTP
[B]$mail->Host = “mail.yourdomain.com”; // SMTP server[/B]
$mail->SMTPDebug = 2; // enables SMTP debug information (for testing)
// 1 = errors and messages
// 2 = messages only
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->SMTPSecure = “tls”; // sets the prefix to the servier
$mail->Host = “smtp.gmail.com”; // sets GMAIL as the SMTP server
$mail->Port = 587; // set the SMTP port for the GMAIL server
$mail->Username = "yourusername@gmail.com"; // GMAIL username
$mail->Password = “yourpassword”; // GMAIL password

ผมลองเข้าไปที่ [B]mail.โดเมนผม.com มันเข้าไม่ได้ หรือผมต้องไปสร้าง subfolder ชื่อ mail ก่อนครับ แล้วมันจะกลายเป็น [/B][B]SMTP server เองหรือเปล่า[/B]

ปกติ DirectAdmin จะ Add ให้อัตโนมัตินะครับ

ตรงนี้ต้อง Add เป็น A record ครับ

mail A 123.123.123.123

มีเซต host สองรอบ มันก็ใช้ config ของอันล่างสิครับ

แล้วมีวิธีเช็คยังไงครับว่าเป็น SMTP แ้ล้วหรือเปล่า

ใช่ PHP Mailer หรือปล่าวครับ

ลองอ่านต่อที่
http://www.xvlnw.com/knowledge-readknowledge-id55.html