View Full Version : email form
bea_ker2
11-30-2003, 09:51 AM
I have a little form which prompts for input which should then be sent using the clients own email software with my email address , subject and 'body' already filled in. I want the body to contain the dynamic text. Anyone got any source that can do this.
I want to avoid serverside scripts for now as I am a complete beginner
Any help would be greatly appreciated..
thanks in advance
CyanBlue
11-30-2003, 11:07 AM
Howdy and Welcome... ;)
We have a tutorial that will help you go through the process at the tutorials section, but that one uses PHP for the processing the mailing...
I cannot really think of a way to mail the forum without using a server side script... You will have to have some medium to talk to the mail server... If you really insist on not using a server side script, you'd have to use mailto protocal to call up an email client installed on your user's machine...
Please do some searching on the forum since this is one of the popular question... You will find more valuable information while you search the forum... ;)
bea_ker2
11-30-2003, 03:52 PM
getURL("mailto: myemail.com&subject= test");
this will open the client email software with myemail and subject as 'test' but I need to know how to copy the variables into the body of the email as well? I have tried the archive search. Please help?????
CyanBlue
11-30-2003, 04:46 PM
Are you talking about this???Btn_Mail.onPress = function ()
{
mailTitle = "Hello...";
mailContent = "This is the mail content.\nThis is the second line.";
getURL("mailto:me@myemail.com?subject=" + mailTitle + "&body=" + mailContent);
}This won't be working on all computers... The minimum requirement will be the user who has set up the default mail client program...
bea_ker2
12-01-2003, 04:08 PM
reply.
Very Much appreciated. many thanks. that should get me to the next hurdle. Thanks for your patience.
bea_ker2
12-01-2003, 05:52 PM
Here's what I have. How can I get the variables to appear on a new line instead of one ater the other ??? i.e. aaaaabbbbbccccc. 'not good'
aaaaa
bbbbb
ccccccc is what I need.
on ( release) {
mailTitle = "hello";
mailContent = "PLEASE ATTACH THE FILES TO THIS EMAIL, THANKS\n";
getURL("me@myemail.com?subject=" + mailTitle + "&body=" + mailcontent + product + number + qty + date);
}
sorry , this is probably simple stuff but I am a newby
CyanBlue
12-02-2003, 09:37 AM
That will be really varing depending on what setup your user have for the email client programs... Somebody might have made it so that it will go with the HTML emails or somebody might have it to go with the text emails...
mailContent = "PLEASE ATTACH THE FILES TO THIS EMAIL, THANKS\n";
mailContent = "PLEASE ATTACH THE FILES TO THIS EMAIL, THANKS\r\n";
mailContent = "PLEASE ATTACH THE FILES TO THIS EMAIL, THANKS<BR>";Those two on the top should go well with the text based, and the bottom one should go well with the HTMl based email setting...
Please use AS tag to format the code... ;)
[useastags]
bea_ker2
12-02-2003, 05:35 PM
I am trying to list variables which have been previously input by the user earlier in the movie(+ product + number + qty + date)
It is these variables which I need to list on new lines. I am finding the 'attach files ' section works but how do I get the user input variables to list also?
sorry if my explanations/questions are poor.
trace("This is a test");
bea_ker2
12-03-2003, 04:10 PM
Can anyone help with this??
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.