Does anyone know how to do this? Sample code, pay for code, etc...
I would like to capture a customers email and process it in some way that I can send it to my aweber / email list.
it would be great just to have a box on the main screen where they can put their email in to receive more information. But I am also thinking I would like a sub-channel that requires the email to be submitted. The channel would then need to remember that something was submitted in the past. (if invalid email, that is fine, doesn't have to check)
Two ways I can think of offhand 1. create a form on your web server an submit the email through that with an http post. 2. use the new sockets functions in brightscript to make a direct smtp connection to your server (must be on a port other than 25 most isp's block that port.)
For the former, there are plenty of scripts on the internet, just use google, and you would use AsyncPostFromString method of roURLTransfer.
For the latter, you would have to spend some time understanding the smtp protocol and implmenting it on roku, probably not that easy to do, but should be possible.