@Julien ***
I have lived in SE Asia for 15 years now. I understand how the country works. It is cheating the system if you apply while in Thailand. It is clearly stated on the e-visa website. Yes, there are ways around it. For example, many countries do not use stamps. Therefore, as an example, if I applied via the US, the documents I would supply as proof I am in the US, are not really that much of proof (bills, driver's license, etc.). Just because it can be done (sometimes not successful), doesn't mean you are not cheating the system.