<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.pathosting.co.th/index.php?action=history&amp;feed=atom&amp;title=SMTP_Problem_%28Virtuemart%29</id>
	<title>SMTP Problem (Virtuemart) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.pathosting.co.th/index.php?action=history&amp;feed=atom&amp;title=SMTP_Problem_%28Virtuemart%29"/>
	<link rel="alternate" type="text/html" href="https://kb.pathosting.co.th/index.php?title=SMTP_Problem_(Virtuemart)&amp;action=history"/>
	<updated>2026-05-20T03:03:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://kb.pathosting.co.th/index.php?title=SMTP_Problem_(Virtuemart)&amp;diff=335&amp;oldid=prev</id>
		<title>Admin at 07:25, 9 November 2010</title>
		<link rel="alternate" type="text/html" href="https://kb.pathosting.co.th/index.php?title=SMTP_Problem_(Virtuemart)&amp;diff=335&amp;oldid=prev"/>
		<updated>2010-11-09T07:25:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:25, 9 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:Virtuemart]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:Virtuemart]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ขณะที่เขียนบทความนี้ Virtuemart เวอร์ชั่นปัจจุบัน คือ 1.1.5&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;หมายเหตุ: &lt;/ins&gt;ขณะที่เขียนบทความนี้ Virtuemart เวอร์ชั่นปัจจุบัน คือ 1.1.5&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== ปัญหาที่พบ ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== ปัญหาที่พบ ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;พบปัญหาเนื่องจากเว็บลูกค้าที่ใช้ Joomla! + Virtuemart มีการตั้งค่าเมล ให้ส่งผ่าน SMTP ของ Google Apps (หรือ Gmail นั้นเอง). ตัวเว็บหลัก Joomla สามารถส่งอีเมลได้ปรกติดี (พวกอีเมลยืนยันสมัครสมาชิก) แต่เวลาสั่งซื้อสินค้า ในระบบของ Virtuemart พบว่าไม่มีอีเมลยืนยันส่งไปให้ผู้ทำรายการสั่งซื้อ.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;พบปัญหาเนื่องจากเว็บลูกค้าที่ใช้ Joomla! + Virtuemart มีการตั้งค่าเมล ให้ส่งผ่าน SMTP ของ Google Apps (หรือ Gmail นั้นเอง). ตัวเว็บหลัก Joomla สามารถส่งอีเมลได้ปรกติดี (พวกอีเมลยืนยันสมัครสมาชิก) แต่เวลาสั่งซื้อสินค้า ในระบบของ Virtuemart พบว่าไม่มีอีเมลยืนยันส่งไปให้ผู้ทำรายการสั่งซื้อ.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'''Summary:''' If Joomla! use another SMTP server (such as Google Apps), the Virtuemart will never send out email.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== สรุปตรวจสอบ ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== สรุปตรวจสอบ ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://kb.pathosting.co.th/index.php?title=SMTP_Problem_(Virtuemart)&amp;diff=334&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;category:Virtuemart ขณะที่เขียนบทความนี้ Virtuemart เวอร์ชั่นปัจจุบัน คือ 1.1.5  == ปัญ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.pathosting.co.th/index.php?title=SMTP_Problem_(Virtuemart)&amp;diff=334&amp;oldid=prev"/>
		<updated>2010-11-09T07:19:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/Category:Virtuemart&quot; title=&quot;Category:Virtuemart&quot;&gt;category:Virtuemart&lt;/a&gt; ขณะที่เขียนบทความนี้ Virtuemart เวอร์ชั่นปัจจุบัน คือ 1.1.5  == ปัญ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[category:Virtuemart]]&lt;br /&gt;
ขณะที่เขียนบทความนี้ Virtuemart เวอร์ชั่นปัจจุบัน คือ 1.1.5&lt;br /&gt;
&lt;br /&gt;
== ปัญหาที่พบ ==&lt;br /&gt;
พบปัญหาเนื่องจากเว็บลูกค้าที่ใช้ Joomla! + Virtuemart มีการตั้งค่าเมล ให้ส่งผ่าน SMTP ของ Google Apps (หรือ Gmail นั้นเอง). ตัวเว็บหลัก Joomla สามารถส่งอีเมลได้ปรกติดี (พวกอีเมลยืนยันสมัครสมาชิก) แต่เวลาสั่งซื้อสินค้า ในระบบของ Virtuemart พบว่าไม่มีอีเมลยืนยันส่งไปให้ผู้ทำรายการสั่งซื้อ.&lt;br /&gt;
&lt;br /&gt;
== สรุปตรวจสอบ ==&lt;br /&gt;
หลังจากการที่ตรวจสอบพบว่า ปัญหาเกิดจากสคริปท์ของ Virtuemart เอง. ที่ไม่ได้ดึงค่า SMTP Port และ SMTP Secure ออกมาจากการตั้งค่าเมล ในตั้งค่าคอนฟิคหลัก (Main Configuration). ซึ่งเท่ากับว่าถ้ามีการตั้งค่าเมล ที่ใช้ Port อื่นนอกเหนือจาก port:25  หรือกำหนด SMTP Security ด้วย, ตัวระบบของ Virtuemart ก็จะไม่สามารถส่งอีเมลได้.&lt;br /&gt;
&lt;br /&gt;
== วิธีแก้ไข ==&lt;br /&gt;
แก้ไขไฟล์นี้&lt;br /&gt;
 administrator/components/com_virtuemart/classes/ps_main.php&lt;br /&gt;
ค้นหาคำว่า&lt;br /&gt;
 global $mosConfig_smtppass, $mosConfig_smtphost;&lt;br /&gt;
เติมตัวแปรเข้าไป 2 ตัว ให้เป็นค่าดังนี้&lt;br /&gt;
 global $mosConfig_smtppass, $mosConfig_smtphost, $mosConfig_smtpport, $mosConfig_smtpsecure;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>