Please help: Sending Email from Livecode

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Jannie
Posts: 10
Joined: Sun May 17, 2015 5:27 am

Please help: Sending Email from Livecode

Post by Jannie » Tue May 10, 2016 2:09 pm

Hi All i am looking for the best way to send email from livecode. I need to send a simple email welcoming new users to my system.

My ISP will not allow me to install Livecode server onto their server, so i am a bit stuck.

I use mysql as a database and Windows Server as the server so i cannot use sendmail.

I tried to use Mandrill but it also requires that i install software on the Server.

I am trying to use libSMTP but i am not sure if the code will run on mobile as i read somewhere that Andriod does not support Sockets.

Please can someone point me in the right direction.

Jannie
Posts: 10
Joined: Sun May 17, 2015 5:27 am

Re: Please help: Sending Email from Livecode

Post by Jannie » Wed May 11, 2016 9:56 am

Hi can anyone help please this is urgent

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: Please help: Sending Email from Livecode

Post by Simon » Wed May 11, 2016 2:48 pm

Hi I'm having trouble figuring out how LiveCode is involved here?
I take it this is sending an email from your sever that does not have LiveCode installed?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Jannie
Posts: 10
Joined: Sun May 17, 2015 5:27 am

Re: Please help: Sending Email from Livecode

Post by Jannie » Thu May 12, 2016 10:49 am

Hi Simon

Thanks for the reply.

I am trying to send an email welcoming new users to my application. (This is a app developed in Livecode) This application is running on Mobile and on Desktop.

I cannot use rev mail as it brings up a form the user needs to fill in, (i want to automatically send the email in the background without any user involvement)

I am currently trying to use the SMTP library which i downloaded from Livecode (Demo 3), however, i read somewhere that this will not work from my mobile app as Android does not support sockets.

Hope this answers your question?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: Please help: Sending Email from Livecode

Post by Simon » Thu May 12, 2016 10:56 am

I'm thinking you want to try a php script.
google "php send mail script"

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am
Location: London, UK

Re: Please help: Sending Email from Livecode

Post by marksmithhfx » Fri May 13, 2016 4:31 am

Jannie wrote:
I am trying to send an email welcoming new users to my application. (This is a app developed in Livecode)
Hi Jannie, how are users connecting with your app? If they are just "using" the app on their mobile device why do you need to send an email? Could you not just put a screen in the app that welcomes them? Is there a server involved in this process somehow that is not described?

Thanks

Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”