Subject Line In Mailto Function Issue
I have problem adding subject line in mail to function I have tried it all but I can add subject line in mail to function.
on (release){ getURL("mailto:abc@abc.com?subject=abc"); }
Ultrashock Forums > Flash > ActionScript
Posted on: 2007-06-10
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Mailto: With A Subject Line?
I have a button that opens up outlook with the address field populated.
Is there a way to include a subject line as well?
Thanks In Advance. Pete
Mailto: Adding A Subject Line?
Can you add a subject line to the getURL("mailto:yahoo@yahoo.com"); command?
I've tried it a couple of times and can't seem to find the right syntaxt, this is what I've tried:
getURL("mailto:yahoo@yahoo.com","subject:Your Request Form");
getURL("mailto:yahoo@yahoo.com,subject:Your Request Form");
BOTH DIDN'T WORK. Does this only work in HTML and not Flash? My client really wants to have the subject line filled in when a "mailto:" link is clicked.
Thanks,
Jason64
AS3 Possible Auto Fill Subject Line In Mailto Command?
hello
now that I have all my contact buttons working and opening
a new email window now I would like to have certain buttons fill in subject lines
is that possible?
I know I have seen it in Html based programs but I don't know how to go about it here.
any help would be appreciated.
AS3 Possible Auto Fill Subject Line In Mailto Command?
hello
now that I have all my contact buttons working and opening
a new email window now I would like to have certain buttons fill in subject lines
is that possible?
I know I have seen it in Html based programs but I don't know how to go about it here.
any help would be appreciated.
Adding Subject Line To Get URL-mailto Script In Flash
I have a button and then I add the following code:
Code:
on(release)
{getURL("mailto:email@email.com");
}
}
I remember faintly a while back where you can add a line to that code so that when the email application opens when you click on the button to send an email, it will have the subject line filled in.
eg.
to: email@email.com
subject: customer email.
Anyone know?
Specify A Subject When Using 'mailto:'
Hi All,
how do you specify a subject in the email, when you use the mailto: link when you are placing an email link on a page...can it be done in flash??
cheers
Mailto: Subject?
hello people
how do i include a subject in a mailto?
======
on (release) {
getURL("mailto:johnboy@me.com");
}
======
Mailto Set Subject
can you set the subject of an e-mail ... mailto Link in flash?
mailto:wish-flash@macromedia.com?subject="information"
PUT TEXT IN SUBJECT OF MAILTO
Can anyone help me with putting text in the subject box of an email directly from flash mx 2004? I cant seem to figure it out and the guy i was working with on this project is nowhere to be found. thanks in advance.
PUT TEXT IN SUBJECT OF MAILTO
Can anyone help me with putting text in the subject box of an email directly from flash mx 2004? I cant seem to figure it out and the guy i was working with on this project is nowhere to be found. thanks in advance.
Mailto: Subject & Body Possible In Flash4?
Get URL ("mailtordermp3@dolphindiscs.com"+"?subject=i want the ddmp3 now!&body=dear dolphin discs,"+"%0a"+"i would like to order the ddmp3 player."+"%0a"+"please email me when it is available for purchase."+"%0a"++my contact information is as follows:"+"%0a"+"%0a"+"name: "+"%0a"+"email address: ")
hi i have done this in flash5 but when i insert this code in my flash4 movie, export it, open it in a browser, it gives me the error:
"the command line argument is not valid. verify the switch you are using".
eh? huh? anyone know what i am doing wrong here? is this not possible to do in flash4???
thank you for your reply's.
slimpixi
Mailto - How To Put Subject And Body Message In?
Anybody know how to put the subject and body message into the mailto action box. I know how to do it in HTML but for the life of me can't get my head around how to do it in flash?
Thanks in advance for your help!!
Mailto Not Showing Body Or Subject
Hi all
I don't know what's potting here but i just can't get the flash 8 to fill out an email's subject field or body. This is the script i'm using
on (release) {
MyMail = "me@mySite.com";
Subject = escape("subject goes here");
Body = escape("hello , this is the body");
URL = "mailto:" + MyMail + "&subject=" + Subject + "&body=" + Body;
getURL (URL, "_blank");
}
I've tryed in ie7 and firefox2 and both retern this in the to: field
me@mySite.com&subject=subject goes here&body=hello , this is the body <me@mySite.com&subject=subject goes here&body=hello , this is the body>
Anyone know what's going wrong with this - it's driving me nutz. I've googled this no end and everything seems right, but still no joy.
Thanks
J
Mailto: Subject & Body Doesn't Work In HTML
Does anyone know why the following will work when testing within Flash but won't work when testing in a browser?
ActionScript Code:
var emailaddy = "mailto:bj@bj.com?subject=TheSubject Line&body=The body line."
getURL(emailaddy);
Subject Line
Hello,
I want to create a button which will send an email including a particular phrase in the subject line.
any body know how to do this...
Please let me know
Email Subject Line?
Hey.
On a button click: I already know how to "mailto" someone.
...But, I am trying to find out how to add a subject line to the email.
Hope you can help.
Cheers werglum
Email Subject Line
is it possible to have a predetermined subject line on a mailto link. i am using flash mx 2004. i have several mailto links, but i would like a way to distinguish them from one another. i thought a pre-filled out subject line on the emails would be an easy way to do it if i could find the resources.
DK
E-mail Subject Line
hey all
I was wondering if there was a code for flash 5 that will allow you to enter the subject line in an e-mail sent from a flash movie
?//
Adding Subject Line To: Mail To
I've been fighting this for a week. Someone please help. How do I add a subject line when calling the getUrl: mail to:.....stuff?
New Date On E-mail Subject Line-PLEASE-
Hey all,
Can someone PLEASE fix this....
on (release) {
today = String (new Date());
getURL ("mailto:corey@somewhere.com?subject='today' + 'Inquiry via Website'", "_blank");
}
I need to track the date of my received e-mail.
Thanks a lot y'all......
Passing Text Into "mailto:" Subject Lines
Trying to pass some text to automatically fill in the subject line in the email program on button release.
You know, the button says "get info here" and on release, the subject line fills in automatically to read "Please send info about xxxxxx".
I'm sure this is more of a newbie question, but I'll wear the hat.
Including The Problem/Question In Subject Line : Please Read
Last edited by Nutrox : 2007-03-10 at 11:43.
Please Read:
The actionscript forum has been receiving several posts with subject lines that do not specify the type of problem or question.
-------------------------------------------------------------------------
This presents two distinct problems:
1) It makes the post hard to sort through for people searching old posts for similar information.
2) The people who are most likely to provide the best response have to read your post before they can determine if it's something they can help with.
Please post your problem/question in the subject line
-------------------------------------------------------------------------
Instead of:
Help
Try:
[Shared Object] code fails for some users.
or:
[as] [xml] Can Shared Objects store XML?
-------------------------------------------------------------------------
Instead of:
How do they do this?
Try:
[design] 2A sky and clouds effect
-------------------------------------------------------------------------
Suggested Tags:
[as 2] actionscript 2.0 Flash MX 2004
[as 1] actionscript 1.0 Flash MX or Flash 5
[xml] xml
[txt] text file
[design] design
[js] javascript
[comps] components
[help] stuck on a problem
[looking 4] looking for a site or effect
[nd resource] need resource
[questn] general question
[so] shared object
[loConn] Local connection object
[advice] need advice or guidance
New Line For Body Of Mailto
I have a button using getURL("mailto:me@mydomain.com?subject=Blah blah&body=line 1
line2");
This works fine in test mode (i.e. I get 2 lines in the body of the email), but not when run from the browser. What should I do? Thanks so much in advance.
How Do You Add Line Breaks To Mailto Links In Flash?
Here's what I'm currently using:
getURL ("mailto:?subject=Watch the " + [_root.videoName] + " Wipeout Video!" + "&body=Hi, Click here to watch this great wipeout video, " + [_root.videoName] + ": " + [_root.videoUrl]);
This is how I want the body to be formatted:
Hi,
Click here to watch this great wipeout vide, XXXX:
http://www.url.com
For some reason when I used the %0D code to try and add linebreaks to the body, it's not working. I seems like flash is passing parameters differently than HTML so it cannot be formatted. How can I add the linebreaks?
Mailto Issue
I think I'm going loopy...
My movie has a mc link which is coded to pop open an email:
Code:
mailto.onPress = function(){
getURL("mailto:mpr@haphouserecords.net");
}
But it doesn't do anything. This link is on the same layer, there is no goofy movie-in-movie thing going on here, nothing that I can see would cause a problem. Do I have this coded wrong or something?
can someone check to see if it works for them?
Here's an example of what I did:
Mailto Issue Going Nuts Here
Never had this problem before so not sure why it’s happening now am I missing something?
I have a main movie that loads in other movies etc via xml , one of the external movies I load in has and email_btn that uses
PHP Code:
Email_btn. onRelease = function(){getURL("mailto:myname@mydomain.co.uk") ;}
when I test that MC on it’s own it opens up outlook, my problem is that when I test the main_mc that loads in the mc that contains the email button it doesnt work also doesnt work when i test it in a browser, not even a hand cursor
This is driving me nuts, any ideas.
Manny2k
Mailto: & Win 2000 Issue
I am creating a Flash MX projecter file & wish to have an email button. I've used:
on (release) {
getURL("mailto:me@mydomain.com");
}
However, the getURL function does not work on Win2K systems. I've googled but am unable to find a solution for this. Any help would be greatly appreciated. I'm hoping there's a workaround for this without using PHP forms.
And by the way, thanks to Macromedia for not addressing this issue that I can find.
Flash Mailto Formatting Issue
I’m adding a simple form (input text fields) in flash that would upon submit mail the name, email, and comments formatted in the body of a message window.
The problem I’ve found is formatting seems nearly impossible, I’ve tried escape sequences “
”, “
”, html <br><br> tags, formatting seems to work in the standalone .swf file but viewing it within a browser window it doesn’t format anything, it comes out a one long sentence.
Has anyone every come across this before or know of a possible solution?
Mailto Function - Is It Possible?
I am creating my first Flash 5 movie. At the end of the movie, the page has a 'replay' button (working well) and a 'respond' button (not yet working).
Is it possible to turn this button into a 'mailto' type button where the users email application will start automatically with my address in the address line of the email?
Any help would be great. Any suggestions would be great
:: Mailto Function() ::
I have a dynamic variable on the stage and I have given the values to it from the frame that hold sthe variable.
I have HTML format to it hence I am able to use HTML tags to define it s formating, everythings working fine.
I have a email link in it. Its a link for email meaning I have to use the mailto function to invoke the default email software. And this link isnt working,
I am able to open a new window using the <A Href="commansomelink.html" target="_blank">click here </A> command but somehow the mailto function isnt working !!!!
ppls help ...
Help With Mailto Function...
hi all,
could use a little help with a mailto function.
I'm trying to get a var called "lotusnotesid" to be captured and inserted into the body of the message, generated by the mailto function.
here's the actionsrcipt for the "submit form" button.
----------------------------------------------------------
on (release) {
getURL("mailto:"+recipient+"?subject="+subject+"&b ody="+body+"&subform="+subform);
gotoAndStop(5);
}
----------------------------------------------------------
and here's the frame action that calls any variables used.
----------------------------------------------------------
stop();
recipient = "joeblow@yahoo.com";
subject = "Usability Guide Feedback";
subform = "Thank you for your interest in providing feedback about the Usability Guide. Please write your questions or comments below this text.";
----------------------------------------------------------
any ideas on what is missing? thanks, dan.
Mailto Function
Hey boddies !
I've got a simple yet silly problem. My follwing action on the button works only in browser . The action is;
on (release)
{
getURL("mailto:info@echannelit.com.np");
}
The action above doesn't work in SWF file. I want the code run properly run in SWF as well. Please do help me if any one there can help me. Every sort of effort will be greatly appreciated. Thank you !
Flashish
Help With Mailto: Function (FL, MX)
Hi all,
I feel really stupid posting this, I have been using flash for a while now and recently moved up to MX. Today for the first time I have tried to use the mailto function using MX but for some reason I can not get the flash file to open my outlook when I test the movie. It is sooooo strange the URL works fine you click the link and BAM!!! Internet Explorer opens up but try and do a mailto and nothing happens.
I highlight the text on the stage and in the propreties inspector, in the link box I type mailto:blahblah@test.com etc but nothing happens. can anyone help or tell me if you have had the same problem I would be interested to know. I had no such problem in flash 5 anyway would be greatful for a response many thanks Viacor.....
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.
Email/mailto Function.
how do i get a button to perform the mailto function so it opens up a blank email addressed to my desired email address?
Mail/mailto Function
[code]
on(release){
getURL("mailto:myemailaddress@you.com","_Blank");
}
This code was posted to another thread but when you use it OutlookExpress will open but you also get a new web page with a url with the email address in the url bar--mailto:CustomerService@Remodels.com
" Action canceled
Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable. "
What is missing that stops the browser from opening the extra page?
Or do I have to make another page? This does not seem right to me.
Thanks
Simple Mailto Function
Hi! I just try to do a simple "mailto" function and I use this code:
Code:
contact_btn.addEventListener(MouseEvent.CLICK,contactClick);
function contactClick(pEvt:Event):void
{
navigateToURL ( new URLRequest( "mailto:my_email@email.com" ) );
}
It works ok exept that it opens both my email program and another blank page in my browser. Is there a way to call only the mail program?
Thank you!
Mailto Function - Adding Text To Email
Hi all,
There was a post in here where it was explained how to use the GetURL action to open an email with the address and also the subject line filled in. mailto:info@mysite.com?Subject=whatever I think it is.
I'd like to know if you can also put some text in the body of the email.
ta
Flash Drawing Board With Erase Function, Erase Line By Line
Hello!
Im building a pretty simple drawing board in flash, i got this code from this forum and it works fine (there is more to it but this is the drawing part)
Code:
var clip:Shape = new Shape();
bana.addEventListener(MouseEvent.MOUSE_DOWN,_handleMouseEvent);
bana.addEventListener(MouseEvent.MOUSE_UP,_handleMouseEvent);
function _handleMouseEvent(e:MouseEvent):void{
switch(String(e.type)){
case "mouseDown":
bana.addEventListener(MouseEvent.MOUSE_MOVE, _handleMouseEvent);
bana.addChild(clip);
clip.graphics.lineStyle(1.5,colorPicker.selectedColor);
clip.graphics.moveTo(mouseX,mouseY);
break;
case "mouseUp":
bana.removeEventListener(MouseEvent.MOUSE_MOVE, _handleMouseEvent);
break;
case "mouseMove":
clip.graphics.lineTo(mouseX,mouseY);
}
}
This works fine. But i want to be able to erase the drawings, step by step this is ths tricky part, ive looked everywhere(ok not everywhere) but in a whole lot of places but the only thing i found is how i could delete everything with removeChild and that in not what i want.
Maybe i need to change the function abowe? Please help me to get in the right direction. What should i read about /look at?
Do you have som sample code, no one is happier than me.
Regards
Fredrik
(sorry for my bad english, please ask if you dont understand)
Curious Line Break Issue
there seems to be a strange line break problem here, each buttons puts in a different length line, and with the third and fourth buttons the text extends on 3 lines when it should stay on just 2. it rights itself with the fifth button though. this is with the latest Flash Player 7 version and doesn't occur if I don't embed the fonts.
it also doesn't occur in my Flash MX test environment, which is FP6.
http://www.ice13.com/test.swf
Any insight on this or if it isn't happening for you, thanks
|