ActionScript 2.0 :: Upload File And Send Mail With Attachment Movie + Script
Dec 14, 2005
My problem is this. I'm trying to make a flash movie (in a larger project) that has some input text fields (but not necesarily only that), basically a form, and a button that uses a FileReference class for uploading a file from the users computer. In the end, this setup should send an email with the mesagge and the file attached to the mesagge to a determined email adress.
Now, the problem is that I'm absolutely lame when it comes to php, that meaning that I understand someone else's script but when it comes to writing myself well...huh I'm toast. I have found a beautifull tutorial here [URL](much credit to Jorge Solis) for the uploading part and a equally beatifull one here [URL] for sending a mail. Also I've found here [URL] and here all sorts of scripts for sending mail with attachement, from which, of course, I can't understand a damn thing.
Now, to wrap it up... I have functional movie that puts a file in a folder on the server. I have a flash movie that sends mail via a php-script. I need a God'damn shotgun wedding with these two.
View 1 Replies
Similar Posts:
Feb 1, 2011
I have a php file set up to send an email with an image attached.. I just simply need to run the script when I click a button..
Is this enough code to do this ? I haven't recevied a response yet !
The actionscript I have used is (I used an external class to save the image)[code]...
View 5 Replies
Feb 3, 2011
I'd like to add to my flash form a box where the visitor can attach a file (pdf, jpg, doc..) from his hard disk.
View 0 Replies
Aug 31, 2010
Want to know whether it is possible to attach one image, or a zipped text file with the email form in a Flash template.Actually I want to send one image and one text file as attachment.
View 1 Replies
Feb 15, 2010
I've made a custom compontent wich mails your own drawings to you. But I have a problem to send an e-mail with attachment. I use the HttpService to send the data to the php-file, but I always get the Fault message (form phpFault()). This is my code in Flex:
[Code]....
View 1 Replies
Oct 30, 2009
I am working on a mail form in flash where in I have to select a file from a local machine and submit the form via php to respective mail id with the attachment.Can anyone please help me find a tutorial or is there any on the internet.
View 1 Replies
Jun 11, 2010
Is it possible to add a attachment to a mail with the mailto function in actionscript 3? Thats the thing, i want to open the default mail program compose window with some data but i also need to add a file as attachment, and that file must be a screen capture of the app.
[Code].....
Looks like the attachment=path/to/file dont work anymore in new email clients, i think it worked until outlook 97 then it was removed for security reasons and so now is imposible to do this anymore.
View 2 Replies
Apr 22, 2011
However I'm trying to open attachments in flex application. Is it possible?
View 3 Replies
Jan 26, 2009
I Have been using Kirupa for a while now, an excellent resource!! but have only just joined the forum. I have had a look at various Flash tutorials provided on the site but cant seem to find quite what I am after. I have a contact form on a site I am making and I want to be able to browse and add an attachment. I see Kirupa provides a tutorial on contact forms and one on uploading files to a server with flash but unless I am mistaken not a contact form with an attach facility? I would like the attachment to be send directly to the e-mail address along with the other information. I am using CS3 but have published the swf with AS2.0 The site is [URL] if you need to see what I'm talking about to make it clearer - once there click on contact
View 3 Replies
Aug 19, 2011
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.
View 1 Replies
Jan 14, 2011
how to save a movie clip snapshot as jpg or pdf and send it with a form I already created. I am creating diagrams with flash and would like to send them as an attachment with the form.
View 0 Replies
Apr 1, 2011
Trying to send a validation email with an attachment and I'm receiving a blank mail with a 'noname' attachment which is 0b.. I've got to a point where I'm not receiving any errors and the php is tracing that the mail has been sent... Below are my actions and variables :-
[Code]...
View 2 Replies
Feb 20, 2011
is it possible to send an email with an image attachement in a "text" format? (like in a ByteArray)
I'ld like to encode an image into an ByteArray (Flash AS3 - PNGencoder) and send it then via PHP to Gmail and others without saving the image to a hard drive before.
View 1 Replies
Jan 4, 2010
only those who actually got real code to show please Im looking for help on how to create send-email with attachment using AS3.
Furthermore the attachment should be printscreen of the flash movie converted into JPEG (preferrably with no need to upload the file to server - can this be done on the fly?), and the JPEG then should be included as attachment in the email.
[Code]...
View 7 Replies
Oct 8, 2009
How can i send mail in flash using action script 3.0 ?
View 1 Replies
Jan 1, 2011
I've found many samples on the internet regarding my question, but I simply want to send just a message/text and understand the connection between PHP and AS3.
View 2 Replies
May 27, 2009
I am just trying to have a button send an e-mail on a button CLICK event, this is what I tried, but obviously wrong.[code]...
View 17 Replies
Nov 4, 2011
When I was watching the video of sending email with PHP, I was very happy. Because that was exactly the info I was looking for. I created a website with flash cs5 pro and AS3.0, but when I wanted to send the site to the server I needed to find the PHP for the mail form.(I never studied PHP) I downloaded the files and got the Flash file but not the PHP.
View 2 Replies
Dec 19, 2010
i made a flash card (an animated postcard), and i want to send it via email so other people can immediatly see it when they open the email. How can i do this?
View 3 Replies
Mar 8, 2012
I am trying to connect to my gmail account via smtp using port 465 in order to sent emails from inside my app but connection fails...my code is shown below:[code]but it does not connect to send the mail.
View 2 Replies
Aug 3, 2010
When you press the button you go to a paypal-account, but I don't want to work with paypal.Instead I would like to receive all the info from the shopping cart (ordered items, price) mailed to me. So people can order without paying ahead
ActionScript Code:
function click_PayBtn(e:MouseEvent):void {
//_Create a new URLVariables variabes
[code].....
View 4 Replies
Jan 19, 2006
I made a form in flash to send a mail to an emailaddress, when I export the .fla to .swf, then it works correctly. But when I insert that .swf in a .html-document and run this in a browser, it won't work! What could be the reason?
Flash MX Pro 2004:
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
verzenden.onRelease = function() {
senderLoad.bedrijf = bedrijf.text;
senderLoad.emailadres = emailadres.text;
[Code] .....
View 3 Replies
Nov 25, 2006
i have a template made of flash and in the page of "contact us"i have 4 boxes of input text in the stage - for the client phone etc'.i have a "send" button and a "clear" button under these boxes.but i don't know the action script for these buttons at all.by tell me the code for these buttons (and what kind of email account i can direct this information to: shouls it be a web mail - like these you get from the hosting company - or it can be a simple email account - like gmail or hotmail..)
View 1 Replies
Jan 29, 2008
basically its a submit button with action script, the button sends of the php file and thats all grand...
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
[code]......
View 3 Replies
Sep 30, 2008
I have a contact form and i have a little problem when it comes to send a mail. I have the string message saying that the message has been sent but the receiver just get an empty message, empty email address from the sender etc... in other words the mail get send but it is empty.
View 3 Replies
Aug 18, 2007
I have one dynamic text field and one button in my movie like newsletter.I want to send into my mailbox the value of the field. Just need to know the button actionscript and the php side.
View 2 Replies
Feb 9, 2012
again (".)I've making this contact form on flash & i got the script for the action script but i'm unable to integrate a php script that would send the mail from my form.I'm using two input feilds with instance names as theEmail and theMessage Here is the action action script code i'm using -
[Code]....
View 2 Replies
Apr 7, 2012
Is it possible to send an auto email to a person as per the target date in a datagrid column of Flash CS4 (AS 3.0)?
I have the following example file attached herewith.
It should check the target date column and if the target date is equal to current date then it should send an auto e-mail to the respective person using the E-Mail ID from the datagrid.
For example (as per attached list):
An email to be sent to Mr. Rangarajan on 15-APR-12 with subject "Submission of BCM Procedure draft" using his email id from the "E-Mail" column of the grid i.e. rrajan@demo.com
View 2 Replies
Nov 29, 2002
I am working with a form (Flash and PHP), everything works great, but the characters like �, � � or � doesn't appear in the resulting FORM e-mail. I use a text file with script to send the email off (contacto.php3)
View 5 Replies
Feb 16, 2009
Iam Jennifer, Iam having a doubt in Flash, I hope that you are going to solve my problem, Iam taking 3 Static text fields as Name, Age and Country and besides each and every static text fields i have taken 3 input text fields with different instance names, when i enter my Name, Age and Country details in the input text fields and after entering those details if user clicks the submit button the data should be send to some mail address, is it possible?
View 2 Replies