[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 485: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4245: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3533)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4247: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3533)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4248: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3533)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4249: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3533)
แสดงกระทู้ - คอนฟิกให้ RasPBX ส่งเมล์ด้วย Gmail Account • Moderator Control Panel • { UCP } • VoIP Community of Thailand - เว็บบอร์ด VoIP Issabel, Elastix Asterisk FreePBX IPPhone VoIP Gateway Call Center IPPBX ของไทย โดยคนไทย เพื่อคนไทย

คอนฟิกให้ RasPBX ส่งเมล์ด้วย Gmail Account

Running Debian, Asterisk and FreePBX on the Raspberry Pi

คอนฟิกให้ RasPBX ส่งเมล์ด้วย Gmail Account

โพสต์โดย nuiz » 19 ก.ย. 2015 18:42

nuiz
Diamond Member
 
โพสต์: 7587
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33

Re: คอนฟิกให้ RasPBX ส่งเมล์ด้วย Gmail Account

โพสต์โดย sitt01 » 19 มี.ค. 2019 08:41

วันนี้ อยู่ๆ ก็ส่งfax to email ไม่ได้ mail เช็ค log มีข้อความ
plain authenticator failed H=gmail-smtp-msa.l.google.com [74.125.24.108] 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials l79sm24837372pfb.102 - gsmtp

*** username กับ password ถูกต้องครับ อ่านในเน็ตดูเหมือนว่า ทาง gmail จะ บล็อค smtp ที่ไม่รู้จัก

วิธีการแก้ ไปที่ https://myaccount.google.com/security แล้วเลื่อนไป เห็น Allow less secure apps (ภาษาไทย : การเข้าถึงของแอปที่มีความปลอดภัยน้อย
บัญชีของคุณมีความเสี่ยงเนื่องจากคุณอนุญาตให้แอปและอุปกรณ์ที่ใช้เทคโนโลยีการลงชื่อเข้าใช้ที่มีความปลอดภัยน้อยเข้าถึงบัญชี) แล้ว กด เปิด ก็สามารถใช้งานได้ปรกติ


Google now doesn't accept login from less secure apps. So you need to go to https://myaccount.google.com/security scroll to the bottom and turn ON "Allow less secure apps: ON". Now when you add the SMTP details to "Send as" google will accept them. You need to do this for the email ID you are adding in your Send as section.
ข้อดีของการเป็นคนทำคอมพิวเตอร์ คือ ทำยังไงคอมพิวเตอร์ก็จะไม่เจ๊ง ถ้าไม่ไปยุ่งกับ Hardware อย่างมากก็แค่เสียเวลาลง โปรแกรมใหม่ แต่อย่างว่ายิ่งลงบ่อยเท่าไรก็ยิ่งขำนาญเท่านี้น
sitt01
Gold Member
 
โพสต์: 320
ลงทะเบียนเมื่อ: 17 ม.ค. 2011 14:19

Re: คอนฟิกให้ RasPBX ส่งเมล์ด้วย Gmail Account

โพสต์โดย aruntawat » 05 เม.ย. 2020 23:43

เพิ่มเตืมเพื่อบันทึกไว้อ่านครับ
ที่คุณหนุ่ยบอกว่า
2. ใส่ Gmail Username/Password
สมมติว่า Username=USER และ Password=PASS ครับ
เปิดไฟล์ /etc/exim4/passwd.client

nano /etc/exim4/passwd.client

เพิ่มบรรทัดนี้ แล้วบันทึกไฟล์

*.google.com:USER@gmail.com:PASS

ตอนที่ผมคอนฟิก 4/4/2020 ผมต้องกำหนดค่าเพิ่มเติมต่อจากคุณหนุ่ยถึงจะสามารถส่งเทสเมลล์ออกได้ คือเพิ่ม smtp เข้าไปครับ

nano /etc/exim4/passwd.client

เพิ่มบรรทัดนี้ แล้วบันทึกไฟล์

*.google.com:USER@gmail.com:PASS
smtp.gmail.com:USER@gmail.com:PASS
aruntawat
Bronz Member
 
โพสต์: 11
ลงทะเบียนเมื่อ: 11 พ.ย. 2011 08:14


ย้อนกลับไปยัง RasPBX - Asterisk for Raspberry Pi

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 1 ท่าน