How to send an email from the app in liveCode?

211 Views Asked by At

I'm trying to send an email from an app and I'm not succeeding! Maybe someone can help me? (I do not want the email sending button to lead to an application that sends the email like the REVMAIL command but LIVECODE will send the email) Thank you

1

There are 1 best solutions below

2
SiphonicRug On

You could try using the tsNet library and query the smtp server manually as shown in this post https://lessons.livecode.com/m/4071/l/685661-how-to-send-e-mail-using-the-tsnet-external

Keep in mind that the tsNet library is not included in the Community Edition of Livecode, so if you are using this version, you will have to look to other libraries or maybe try to use CURL with the shell() function.