Revlet

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bsouthuk
Posts: 261
Joined: Fri Dec 05, 2008 7:25 pm

Revlet

Post by bsouthuk » Fri Jun 11, 2010 10:36 am

Hi All

Wodner if someone can help.

I have my rev application sitting on my web site and wondered if it was possible for an email to be sent to my email address containing the content of 2 fields when a user clicks on a button. This has to be done automatically when the user clicks the button without them actually knowing this information is being emailed to my address.

is this possible? if so would somebody know the scripts to use?

Thanks guys

Dan

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Revlet

Post by Mark » Fri Jun 11, 2010 1:20 pm

Dan,

It is possible, but it would probably be illegal.

The easiest way to do this is by means of a short PHP script on your web server. Do you have a web server?

Alternatively, you could use either Shao Sean's or Sarah Reichelt's SMTP library.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

bsouthuk
Posts: 261
Joined: Fri Dec 05, 2008 7:25 pm

Re: Revlet

Post by bsouthuk » Fri Jun 11, 2010 1:37 pm

Hi Mark

When I say for the user not to know, I actually meant that they did not have to do anything manual for the email to be sent to me.

The easire you can make it for users the better!

Thanks for you help.

Daniel

bsouthuk
Posts: 261
Joined: Fri Dec 05, 2008 7:25 pm

Re: Revlet

Post by bsouthuk » Fri Jun 11, 2010 4:11 pm

I have the library working on my application and works perfectly when testing in a standalone application but when I test as a web revlet it doesnt work. I have added the stack in the standalone settings but dont understand why i wouldnt work as a revlet.

Any ideas?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Revlet

Post by Mark » Fri Jun 11, 2010 4:13 pm

bsouthuk,

Probably, you need to change the security settings in the Standalone Settings window.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply