Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




GetURL(mailto



Hello,

For some reason, I can not get the getURL mailto method to work in Flash MX 2004. Any ideas?

on (release) {
getURL("mailto:rob.dewell@tiscali.co.uk?Subject=So E", "_blank");
}



FlashKit > Flash Help > Flash ActionScript
Posted on: 04-20-2004, 11:03 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Geturl Mailto And XP
I made a projector with a geturl action to send an email
but it's not working on Windows XP nor on Windows 2000 pro.

I posted this thread last week and a lot of people told me they had no problem on Windows 2000 pro. So I figured it was my computer so I made the projector, put it on CD and gave it to my client.

She is on Win XP and tells me the link to send an email does not work!!!

Anybody got a clue?

Thanks

GetURL Mailto
How do I get it so the subject line is automatically filled in with a pre-determined subject line when using the getURL mailto: action?

GetURL Help - Mailto
I'm trying to construct a url to use with getUrl by bringing in a variable to use as part of the url. Trouble is, the variable, when concatenated with the rest of the string is causing it to fail due to what appears to be a carriage return. When I trace the variable "contact1_email" there is a space on the next line. As a result, when I build the url string it fails. If I trace theString in the code below, I get:
----------------
mailto:info@pipeline4media.com

?subject=WebInquiry
-----------------
I have tried all kinds of variations to construct the string - all fail. If I hard-code the url it works. Any ideas? Here's the code:



on (release) {
trace(_root.contact1_email);
theEmail = _root.contact1_email;
theString = "mailto:"+theEmail+"?subject="+"WebInquiry";
trace(theString);
getURL(theString);

}

GetUrl(mailto:) ?
how can this get done in Flash 9 AS 3.0.
any recources

UrlRequest ???

GetURL-mailto
I am very new to flash and maybe I am missing something but when I use the get URL and enter mailto: email address then check in test movie the button does not open an e-mail window it opens explorer browser as if it were trying to get a web page. I'm just confused cause when I put a http URL in that works fine. I know it probably something so stupid that I'm doing wrong. Thanks

GetURL Mailto With XML In The Body
Hello,

I have read truckloads of threads regarding getURL mailto and body text, but cannot find a solution.

I want to generate an email from Flash 5 using the getURL mailto facility. The email is to be created with an XML structure as its body.

I have noticed the following problems:

1. When the email client is Lotus Notes, the body text is ignored. There are numerous threads about this problem, but I would be interested to know whether someone has devised a solution.

2. When the email client is Outlook Express, the size of the body text seems to be very restrictive. I can include only 184 characters in the tests that I have conducted. My XML structure is thousands of characters.

on (press) {
mailAddress = "annieone@somewhere.com";
mailSubject = escape("Project XML");
mailBody = _level0.buildXML("Dump", "");
getURL("mailto:" add mailAddress add "?subject=" add mailSubject add "&body=" add mailBody, "", "POST");
}

The function buildXML creates and returns a valid XML structure.

With the above form of the code for establishing mailBody, the email is not created. It simply shows a blank browser window.

In order to get the email formatted, I have to set mailBody as follows, limiting the number of characters as mentioned above:

mailBody = '<?xml version="1.0" ?><BOXERML><BOXER>...etc...';

I have used single quotes here to allow XML's double quotes to be accepted.

Can anyone advise whether there is a solution, preferably ActionScript based, to either of these gremlins, or suggest a smarter way of forwarding the XML structure to a help desk?

Question About GetURL And Mailto:
Here's what I'm trying to use:

javascript:window.open('http://www.petepalladino.com/html/email.html','EMAIL','width=300,height=300,top=0,le ft=0'); void(0);

From the web, this opens a small browser window with no menu. From the projector, it opens the small window, and a Fullsize browser window behind it, with that entire line of javascript in the address bar, and a little [object] in the browser window...any idea how to get rid of it?
[Edited by mark.fitzgerald on 11-18-2001 at 03:14 AM]

How To Add A CC To A Mailto: GetURL Link
One of my clients just asked me to see if I could add a second email link to a getURL action. Right now, I've got a button with a mailto:whomever@whomever.com link. Works fine. But now he wants a second address to appear in the CC field when the Contact button is clicked. Is that possible in Flash?

Alternative To GetURL Mailto
I can't seem to make getURL ("mailto:email@address.com); work in a Flash Projector file. Any alternatives?

I've tried using JavaScript:

on (release){
getURL ("javascript:window.open('mailto:email@address.com ');javascript:window.close()");
}

But that of course gives me the stupid prompt as to whether or not I want to close the window.

Suggestions?

Kenneth

Help With GetURL(mailto, ) Function
I'm trying to set up a "Contact Us" form using a button that will utilize the GetURL function.

Instead of hard coding the e-mail address as:
GetURL("mailto:myaddress@domain.com", "_self");

What I'd like to have is something like:
var mailAddress = loadVariables("external.text", this);
GetURL("mailto:" + mailAddress, "_self");

I've tried this but it doesn't work.
Any ideas appreciated.

Thanks.

GetURL(mailto:) Command Help.
Hi guys,

I currently have this code on my website to send me an email when they push the button.

on (release) {
getURL("mailto:email@domain.net.au?Subject=APS831 Automatically generated email.")
;}

It works fine, but what I need to know is how I can attach a 'Print out' of frames 167, and 180 when they push the button aswell, this is based on the assumption that someone who has no idea about computers will be using the application, so it needs to attach automatically so all they need to do is press 'Send'.

I also have a Print button on my thingo that uses a printAsBitmap control, (which sends frames 167 and 180 to the printer) so those two frames are already marked with the #p, is there some way I can utilise this in my code?

GetURL(mailto:) Command Help.
Hi guys, I currently have an email button in my presentation, which when clicked, opens the clients email program with all the required fields already filled (recipient, subject) using this code:

on (release)
{
getURL("mailto:user@domain.net.au?Subject=APS831 Automatically generated email.")
;}

I also have a 'Print' button which when pressed prints frames 167 and 180. What I need to achieve is to get my email button to behave in a similar fashion, by automatically attaching frames 167 and 180 to the email, for instance in a bitmap format or something? Maybe using a printscreen option?

I had the idea of using some sort of 'Print to file' dialog, but this has the draw back of requiring the user to have a virtual print spool driver.

GetURL(mailto:) Command Help.
Hi guys, I currently have an email button in my presentation, which when clicked, opens the clients email program with all the required fields already filled (recipient, subject) using this code:

on (release)
{
getURL("mailto:user@domain.net.au?Subject=APS831 Automatically generated email.")
;}

I also have a 'Print' button which when pressed prints frames 167 and 180. What I need to achieve is to get my email button to behave in a similar fashion, by automatically attaching frames 167 and 180 to the email, for instance in a bitmap format or something? Maybe using a printscreen option?

I had the idea of using some sort of 'Print to file' dialog, but this has the draw back of requiring the user to have a virtual print spool driver.

GetURL Mailto Limit?
I am making a simple getURL command that reads emails from an array and will then open mail software where the user can compose a message to the recipients.
The problem is, there are about 260 recipients...is there a limit to recipients? It seems to work fine on a Mac, but on a PC I can add about 90 recipients and then after that the mail software does not open anymore.

The code is:
recipients=["xxx@gmail.com","xxx@gmail.com","xxx@gmail.com",.. ...];
getURL("mailto:"+recipients,"_blank");

The only workaround I can think of is to do batches of around 90 3 times but this is a pain for the user.

Geturl Command (mailto W/o Php Or Cgi)
quick question on the get url command... I know how to do php or asp; but i do not have access to any kind of serverside scripting. it's a pain but i have set up the


Code:
on (press){
getURL("mailto:visual_grace@hotmail.com?Subject="+ subject);
}

as stated above. i attached it to a button but it still will not send, do i need to do anything else? i guess what i need is a proceedure.

Thanks.

GetURL Mailto: Problems
Hey all, I'm new to the site and am working with FMX.

In creating simple reply form I am finding that if there is too much text typed into any text field that it will not generate the email. The email program will open but not create the new email with the info from the user.

Has anyone else noticed this and is there a way around it, without using server-side scripting, like .php or .cgi.

GetURL And Mailto Problems
Hello, I am making a portfolio and will be burning it as a projector to disc to send out. I am having problems getting getURL and a mailto link to work. Here is the code I am using:

on(release) {
getURL("

GetURL... Mailto: Variable Snafu
Hi all,

I'm having a bit of trouble figuring out how to put a variable into a getUrl statement.

I have a variable supplied by a user called eMail. For Example:

eMail = flashsucker@flashkit.com

I want to add that variable to a button that sends an e-mail to that address:

on(release){
getUrl("mailto:"+eMail);
}

This doesn't work.

Any suggestions?

THX.

Geturl Mailto Lock Up Text Box
I have a swf in a pdf in Firefox that has an email button in it. It works fine.
Sends all the info I want it too but once the email is sent. The text box that holds the body copy for the email becomes unusable I can select the text by double clicking the pointer cursor but cannot get a text cursor by clicking in the box or by selecting the tool from the menu bar.
This only happens when I in Firefox not explorer
Does anyone know a reason for this.

Cheers Daniel

Mailto & GetURL In Flash MX - Part 2 - Oopsie
3 situations: 1- e-mail links function (e-mail application opens, e-mail address in place) BUT when played in QuickTime, the player opens a 404-Page not found - hint: already removed 'target=_blah' code, so that's not it. 2- would like subject line populated, have used solutions seen on FK forums: 'mailto:blah@blah.com?subject=blah' and 'mailto:blah@blah.com subject=blah', but subject line remains blank. 3- need 'mailto' to send to multiple recipients - have tried solutions seen on FK forums but no luck. Anyone (everyone) want to jump right in here? thx!

Problem With Geturl(mailto:E_mail) Script
When i write the mailto: It wont bring up outlook or there of, on my computer, but on others it works. please help it for my portfolio.
thanks

GetURL("mailto: Doesn't Work
I have this code:

on(release){
   getURL("mailto:somemail@someserver.com");
   }

I think the code is OK but i doesn't work. Help? Thank you.

Flash MX GetURL Mailto: Window Focus
Version: Flash MX (v.6)
OS: Win2K

Problem: e-Mail window when called for the first time does not have true focus.

When executing the code listed below it does what it's supposed to, however, the very first time it is called the e-mail message window appears behind the Flash MX projector. This is easily lived with (for me) by using 'Alt + Tab' key sequence to bring the e-mail window forward.

My boss would like this changed so there’s not so many opened windows cluttering the toolbar when the getURL is called, more than once, the first time the flash program is used.

It seems I have 2 choices:

1. Create a brief message (pop-up) telling the user that if the e-mail window does not appear to use the key sequence mentioned above, or...

2. Find a way to add focus to the MS Outlook e-mail window when it opens.

Does anyone have an actionscript (or java) solution for this particular problem...? I searched the forum and google but found little that addressed this particular scenario - giving focus to e-mail window called from within Flash MX player.

Sincerely,

Orac




function enrollEmail(enrollInformation){
var bodyvalue = "Message here...";
var subjectvalue = enrollInformation;
var courseTitle = courseName;
var eMailTo = "cavendert@usa.redcross.org";
getURL("mailto:"+eMailTo+"Subject="+courseTitle+subjectvalue+
"&Body="+bodyvalue);
}

Including An Email Subject In Geturl "mailto:"
Can you help? I'd like to include a subject in geturl "mailto:"

Thanks
cristie

GetURL/mailto - Outlook Vs Outlook Express
here's the line:
mailtoString="mailto:bob@SomeURL.com?subject=test&body=mybody";
getURL(mailtoString);


it works fine with Outlook - pops up Outlook, properly populated - address in the To:field, Subject in the subject field, body in the body.


however, with Outlook Express - the e-mail application comes up just fine,the address is in the "To:" field, but... the subject and body are empty.

is this an Outlook Express issue? Is there a workaround?

tia,
ferd

GetURL("mailto:......")
Hi, I'm just wondering how do put the mailto function in flash??
if I put it in getURL, it will pop up a new window and shows that there are some error..
How do I do it without popping up the window??

Thank you so much

MAILTO
I'm trying to "mailto" from an standalone player. It doesn't seem to work unless I link from an HTML file. Is there any way to do that without linking swf file to an HTML? from an exe file? Thanks for advance

MAILTO AGAIN
I still don't find the way to send mail from a swf standing alone (not linked in an HTML file) or an exe file. Should I try it by calling some intermediate file like an HTML with the function mailto:? Is there an other direct way to do that? Thanks for advance

? Mailto
How to create mailto link within flash site?
Give me some tutorial, please(or file with actionscript).
Thanks.

Mailto
hello

i am trying to put a 'mailto' link in a flash scene, can this be done? and if so how.

if any one can help it would be fab.

thanks

alan

Mailto
I know it is a siple question, but how can i let a button open outlook express. So a visitor can sent me an email?

Get Url Mailto:
u need to use a mailto link

make a button out of the text u need in the actions use get url then in the url box type

mailto:

followed imediately by the address that u want

for example mailto:microphenia@hotmail.com

hope this helps
peace

Mailto
Here's a gimme

what do you have to add to the mailto command to send text to the subject line of the new email?

Mailto
Hi, Got a total loser question: If i format a textfield as html - how the **** do I make a mailto link... I've tried to just set the "anchor" to mailto:bal@bla.com, but that didn't work.
Anybody?

Mailto:....@....com
anyone can please tell me which action script should I use to add few words in the subject case of an email.
Thanks,

Mailto:
Hi there, How can I use the "mailto:xxxxx@yyy.com" from javascript in Flash?. I mean, I want that if you press a button or a moviclip, open the mail programm with an e-mail address in the "To" text box.

Thnks a lot.

Mailto From Within An Mc
i have an mc on my main timeline. the mc has a button with a mailto. however, when i play the full movie and click on the button i get an error (browser error - url not found). to get around this, i've placed an invisible button on the main timeline (covering the coordinates where the other button inside the mc is) with the mailto, and this works...
... but it's going to get messy as i need other buttons inside otgher mc's

can anybody tell me ow it's really done?

thanks

Mailto
i have several variables to send by mail with "mailto:".
I would like the mail to have this format:
variable1= example1
variable2= example2
.
.
.


Is it possible?

Exe. And Mailto:
Hello,

I am trying to make a link in my flash file (which will be published as an exe, to be e-mailed as an attachment), that opens the persons e-mail program to send an e-mail from the file.

Code:
on (release) {
getURL("mailto:somebody@somecompany.com?subject=Ch ristmas Drinks");
}

I am able to do this fine on a mac with both a .swf and projector. But am told PCs don't operate their mail programs in the same way - any suggestions on how to do this?
Thank you

Can't Get Mailto
I'm trying to get the mailto to work. Here's my code:

on (release) {
getURL("mailto:info@blahblah.com");
}

I was able to get a link to work, but can't get the email link to function. I tested on a few different computers and got the same result, so I know it's not my computer. Any suggestions? Thx

Mailto Does Nothing
When I put this code:
[code]
on (release) {
getURL("mailto:cturner2002@hotmail.com");
}
on an email button nothing happens.

Using As For Mailto
hello, all: i don't have a "howto" question as it is more theoretical. just curious: in using the getURL("mailto:..."), because it is using actionscript and therefore read by the flash plugin and not a browser, does this eliminate the concern for spam?

thx.

Mailto... ?
Hi,
I have a button that i want to link to my email address.
My script on the button is as follows.

on (release) {
getURL("mailto:info@imaginationcreations.com");
}

Though nothing happens when i test it.
If i replace the mailto.... with a web site, that works fine.
How can i get the email link to work???

Thanks!
Ari

Mailto:
I know this is not flash but can anyone help me? I' making a form and i need to send the content to my mailaccount. It should not start the mail wizard, but just sent the mail straight away...

see the form at http://www.cbc.dk/test/contact.htm


Thomas Denmark

Mailto?
Fixed... used the search!
Whoops!!

Mailto:
The email button I created seemes to work fine except for my client! Arrgghh!!!!

They say, Outlook opens a new email message, which is fine, but explorer pops up a message saying "cannot display the requested page" or something similar...

Please help me to get rid of this message!!!???

Using Flash MX but having to save out as Flash Version 4 for this project

Thanks

Sam

Help With Mailto
I got the code to do the mailto and enter in a subjet, but I wanted to also put some text in the body of the email. I have seen this done before but I'm lost on how to do it!

could anybody help me with that?

Thanks

Mailto
I'm making a CD-production using Flash 5. From the Cd the users e-mail account is being activated. But I would like there to "automatically" be a picture in the mail that they will send. To do so I heard that I nead to know the attributes of the textfield?

Thanks a lot.

Copyright © 2005-08 www.BigResource.com, All rights reserved