เมล์มันไม่เข้า outlook อะครับ แต่ถ้าเปิดในเว็บจะเข้าครับแต่ไม่เข้า inbox มันไปอยู่ในถังขยะครับ
ส่วนค่าของ smtp บริษัท ผมไปดูเครื่องของคนที่ config ด้วย outlook
pop = pop-mail.outlook.com
smtp = smtp-mail.outlook.com
server ขาออก smtp 587 ผมลองเอาค่าพวกนี้ไปใส่ก็ยังส่งไม่ได้เลยครับ
<?php
include("PHPMailer/class.phpmailer.php");
include("PHPMailer/class.smtp.php");
$mail = new PHPMailer;
$mail->CharSet = "utf-8";
$mail->SMTPSecure ='sftp';
$mail->Host ="mail.siamnavakam.com";
$mail->Port = 25;
$mail->SMTPAuth = true;
$mail->Username ='sales1@siamnavakam.com';
$mail->Password = 'xxxxxxx';
$mail->SetFrom('***@***.com');
$mail->FromName = $title;
$mail->Subject = $subject;
$mail->Body ="Name :" .$title." <hr> <br> Subject :" .$subject. " <hr> <br> Email : " .$tel." <hr> <br> Detail : " .$detail; // Huh?Huh?Huh?Huh?Huh?Huh???
$mail->AltBody ="Name : " .$title." <hr> <br> Subject : " .$subject. " <hr> <br> Email : " .$tel." <hr> <br> Detail : " .$detail; // Huh?Huh?Huh?Huh?Huh?Huh???
$mail->AddAddress( 'sales1@siamnavakam.com');
if (empty($_POST["title"]) && empty($_POST["txt_subj"]) && empty($_POST["txt_tel"]) && empty($_POST["area_detail"]) )
{
echo "";
}
else
{
if (!$mail->Send()) {
echo "";
}
else
{
echo "<script> alert(' SEND E-mail '); window.location = 'sent.php'; </script>"; //?Huh?Huh?Huh? mailFrom.html
}
}
?>
ช่วยหน่อยครับ phpmailer เมล์ไม่เข้า outlook ของบริษัท
Moderators: mindphp, ผู้ดูแลกระดาน
-
- PHP Newbie
- Posts: 2
- Joined: 15/03/2017 5:26 pm
-
- Similar Topics
- Replies
- Views
- Last post
-
-
ขั้นตอน วิธีการตั้งค่าและการใช้งานส่งอีเมล์ Microsoft Outlook กับ Mercury บน loc
by M003 » 23/11/2012 2:43 pm » in Share Knowledge - 0 Replies
- 6264 Views
-
Last post by M003
23/11/2012 2:43 pm
-
-
-
PHP SEND EMAIL WITH PHPMAILER USING GOOGLE APPS
by siamfocus » 26/01/2012 10:24 am » in Free PHP Code Download script - 0 Replies
- 5443 Views
-
Last post by siamfocus
26/01/2012 10:24 am
-
-
-
มาสักที แอป Outlook บน ios รองรับ iCloud แล้ว
by chatee supasand » 05/08/2019 2:48 pm » in Microsoft Office Knowledge & line & Etc - 0 Replies
- 227 Views
-
Last post by chatee supasand
05/08/2019 2:48 pm
-
-
- 0 Replies
- 1401 Views
-
Last post by M027
08/06/2015 5:29 pm
-
-
ย้าย Mail จากMozilla Thunderbird ไปยัง MS Outlook
by ohseed » 30/05/2016 4:35 pm » in ถาม - ตอบ คอมพิวเตอร์ - 0 Replies
- 864 Views
-
Last post by ohseed
30/05/2016 4:35 pm
-
-
-
ช่วยหน่อย ใช้ phpmailer แล้ว mail ยังลงถังขยะอยู่เลยครับ ไม่ลง inbox
by Kun Chakun » 16/03/2017 4:53 pm » in Programming - PHP - 0 Replies
- 490 Views
-
Last post by Kun Chakun
16/03/2017 4:53 pm
-
-
-
เจอปัญหา ส่งเมลผิดพลาด : Language string failed to load: from_failed บน phpmailer
by mindphp » 19/06/2020 3:26 am » in Programming - PHP - 2 Replies
- 1919 Views
-
Last post by mindphp
19/06/2020 5:47 pm
-
-
-
Microsoft จัดให้!! สามารถใช้งาน Dark Mode บนแอพ Outlook ได้แล้ว
by chatee supasand » 29/08/2019 5:54 pm » in Microsoft Office Knowledge & line & Etc - 0 Replies
- 348 Views
-
Last post by chatee supasand
29/08/2019 5:54 pm
-
Who is online
Users browsing this forum: Bing [Bot] and 13 guests