Flex :: Programmatically Send An Email From A Flash AIR MOBILE App
Mar 27, 2012
I am trying to figure out how to send an email from a Flash Mobile (smartphones: blackberries, iphones, androids) app using mxml and Flash using Flash Builder 4.6. My boss told me to find out if it is possible. So far, I have been doing a lot of searching around on the internet for an answer.
I found this website: [URL], that has some classes for sending email in flash, but #1, I don't know if they work in Mobile apps, and #2, I can't find any instructions or tutorials on how to use the classes to send a simple email.
I downloaded the package from the site and imported into my project, where I am trying to send the code. But without sample code on how to simply send an email, I am not entirely sure what all do, and nor am I sure how to determine things like what port number to construct the SMTPMailer object (the SMTPMailer object is included in that package, and it takes a host string and a port number integer in it's constructor), right now I am trying 80 or 8080 for the port number, and I've tried localhost and one of our server computers, 198.162.1.109 for the host.
Anyway, I keep getting this error: Error #2044: Unhandled IOErrorEvent:. text=Error #2031: Socket Error.
Here is some of my sample code:
[Bindable]
private var mailer : SMTPMailer;
private function init() : void {
I have used the kirupa tutorial on a flash email form and it works GREAT! The only thing is I want to have required fields that need to be entered in for the form to send. If the user doesn't enter anything, it will ask them to in order to send the email.how I can do this or adapt it to the kirupa tutorial code?
As I'm rolling out my Flex app to Beta I realized that I need to know about any exception that happens in Flex Side. But as it runs on users machines I don't get to see them.
Is there a way to make Flex send email every time an exception happens?
Can I make a button, that when I click it the phone makes a call to a certain number, or similarly sends an email to certain address with some pre-populated fields. I need this to work on iOS and Android too.
I'm currently using Macromedia Flash 8. I'm doing up a website purely on Flash, in of the page it involves a "Contact Us" where there is a Form. I need these informations to be collated and send automatically as an email to my email account. I've tried to follow some scripts from this Forum. But when i click the Submit button, nothing happens and I did not receive any email at all.
just wondering if anyone could let me know how i would go about setting up my flash app to send an email when the submit button is pressed?
I know i need to use php but everytime i try it doesnt work, i read i need to add code to my server, although this application isnt meant for the web as such its more a local application whereby the user can type a message when they require help and send it over the internet to my mailbox
I try to send an email from flash wit php. The problem is that I have a main movie which loads external swf files. One of them is my contact swf too. And when this is loaded and I fill the contact sheet doesnt wants to send the email. If I upload only the contact file with published in flash works fine. So finaly I think that what is wrong is that the external contact swf is loaded isnt on the root. I must change some scripts but I dunno yet what becuse I tried a lot os change but becuse Im a very newby dont works.
How do I send an email using flash without opening the users email client? The getURL ("mailto:someone@server.domain") doesn't work for me...And how do I control the content of the body? wherein i can make the content of another textbox appear on the next line...? and is it possible to attach files to be sent as well?
I am working in an application which deals with online selling. when the user clicks submit the entire stage must convert in to a JPEG image and automatically that particular image must be mailed to client email address.
I am making an Android app with Flash CS5. I am trying to send information from the app to the user with an E-Mail message. The information is all text, however, just plain text isn't enough. I'd much prefer using HTML formatting or some other way to better show it to the user.Is there a way to send an attachment or at least include HTML formatting inside the body of an e-mail sent from AIR?Right now I can send an E-Mails just fine with avigateToURL I can also include a subject and body for the E-mail. However that is all plain text, and not exactly what I'm looking for.
I am trying to send email within an Adobe AIR app using AS3's navigateToURL() function. I have successfully sent over plain text, but was wondering if there is a way to set the content-type to text/html because right now it sends the HTML as brackets. [code]...
i was creating a program and now i need to send i printscreen of my program to my email so then i can see whst the users created wwith it, how can i do this?
I have been given the task of sending messages (SMS/Flash/ other formats) to any phone entering a restricted area... How do I detect the phone and send message to it without any prior knowledge of it's SIM Number?
ActionScript Code: // set default text of boxes - currently blank name_txt.text = email_txt.text = subject_txt.text = message_txt.text = " ";
[Code].....
I believe my problem lies within the email_data var. And I believe the problem is the "&" that has to be there. If I take it out I dont receive the information placed inside the corresponding input text fields.
I am trying to create a email form or a button that will send an email to the users email address that they enter. I want to send them a different email depending on a variable that has been set? For instance I have five backgrounds, and earlier you were asked to choose a background. Once the background was set, so was a variable. Depending on this variable, I would like a different email, with content relative to the chosen background to be sent. How can I go about doing something like this?
I need to send an email from flash alongwith the Subject and Body data.When i do the testing in Flash by pressing "Cntrl + Enter" and click on the email button it works properly i.e. it opens an outlook new mail window and the To, subject and BOdy fields are filled with the data that I am sending from flash.
Now when an close the Flash application and open the folder in which the swf is published and run the swf then mailto funcionality does not work properly. i.e. it just fills the To field and reamaining fileds like subject and body are empty!I finally need to embed this swf in html file so the feature should work embedded in html also.
I want to build a flash file with a textfield for people the put in there emailadres in. Then a flash movie will play. On the end of the movie i want flash to send a automatic email to the adres that the person filled in at the beginning. It will be a standard email text that everybody will recieve that watch the movie and filled in the emailadres.
I need a good html mailer that will post ...ive tried everything from php to dw formmailer, and it is crazy **** that i cant finish a simple mailer. I just want it to send name and email of someone from a site to that site holders email! I guess I am a moron
I would like to send an email with a swf file made using Flash CS4, AS3...not as an attchment but in the body of the email. I have sent a link and that works...but want to send so everyone can view when they open the email.
Im making a contact form with AS3 and I am not sure if the domain will have access to a server to use PHP, so to be safe I want to be able to send the contact email without PHP.
I would like to move (right or left according the current view) between 2 views when I move my finger on the mobile screen; for example with Google+ mobile application, in profil section, you can change the view just on move your finger on the screen, and the offset and the moving speed must be checked before change complete view.