SMTP Gmail ใช้งานไม่ได้ [google policy update 2022]?

ตามหัวข้อเลยครับ จากที่เจอมาคือ ในช่วงปี 2022 ทาง google ได้มีการ เปลี่ยน policy เกี่ยวกับการใช้งาน smtp Less Secure Apps feature on some Google accounts from May 30th, 2022 ซึ่งส่งผลให้ หน่วยงานหรือโครงการที่ใช้ smtp Gmail ไม่สามารถใช้งานได้ หากยังไม่ได้ทำการ อัพเดตตามเงื่อนไขใหม่ (เมลบริษัท ที่เป้นของ Gmail ยังไม่พบปัญหา) วิธีการแก้ปัญหามีดังนี้ แก้ไขประมาณนี้ ก็จะสามารถ ส่งเมลได้เป็นปรกติแล้วครับ

pitthaya.d

August 30, 2022

SpringBoot – Thymeleaf: Tips

Hot reload, add follow config in application.properties spring.thymeleaf.cache=false spring.thymeleaf.prefix=file:src/main/resources/templates/ spring.web.resources.static-locations=file:src/main/resources/static/ spring.thymeleaf.cache.period=0 ** ตอน deploy ขึ้น Server ต้อง comment 3 บรรทัดนี้ หรือไป config ใน Jenkins 2. Enable browser cache spring.web.resources.cache.cachecontrol.max-age=1d

Teerakorn Bounoy

October 29, 2021

Linux tips

Here is the list of command lines which often used in ZTI operations. Disk Check size of diskdf -h Check disk usagedu -sh <directory>Ex.du -sh /optdu -sh * | sort -n -r Directory List directoryls -lshls -lsha Create directorymkdir -p /opt/user/usr1/docs Remove directoryrm -rf /opt/user/usr1/ Change direcotry modechmod -R 777 System Manage servicesystemctl restart <service_name>systemctl […]

Teerakorn Bounoy

September 25, 2021