Flash mail button / notes
- Started
- Last post
- 29 Responses
- armed_rob
I did a flash site with a mail button. Like this:
on (release) {
getURL("mailto:email@email.com?s...
}Problem is that my client use "Notes" for emails, and that Notes dosent open an email...
Anyone HELP!
- fifty500
Ever think of replacing that button with an email form? all you'd need is a couple of Dynamic Text Boxes and a button linked to a PHP script.
- armed_rob0
well fifty50... that wasent the question!
But if you like please mail one to me... Im not into PHP!
- rabattski0
uhm, where's the mailto: bit?
as in
on (release) {
getURL("mailto:email @email.com?subject=S ubject&body=text");}
- armed_rob0
rabattski?
Explain please...
- rabattski0
argh! i guess it was in the original post anyways and cut away by nt, what i meant was the "m a i l t o :" bit (without the spaces).
- armed_rob0
I know I know...
" mailto:" is in the code at the button...
just forgot it here... sorry!
- armed_rob0
m a i l t o:
- unformatted0
what happens when the client clicks the mail button then?
- ********0
m a i l t o links will only work, in general, if there is a default email client,
Does it work from an html page?
Does it open the program but just not a new mail?
- rabattski0
fifty50's idea makes sense though. instead of using a getURL and having issues with local e-mail apps use a form and the server's mailserver.
e.g.:
- armed_rob0
yo... need a little help here!
I downloaded the PHP mailform from flashkit and im trying to modify it...
Problemo is the email it generates ONLY contains a subject. No info from the input txt fields!?
HELP!
- rabattski0
does this happen with the original source or with a version you are working on?
- rabattski0
i quickly tested the original source which works. the only thing i can imagine is that you either do not have a text box for the body text called "pesan" or you renamed it to something else without changing the php script.
in the script it says:
$message = $pesan;
so if you've changed the body text box to e.g. body you should alter that php bit to:
$message = $body;
- armed_rob0
Now I tested the original source only editing the subject and...
" /* recipients */
$recipient = "robert@armedrob.dk"; "Still only subject??
- rabattski0
odd. works fine for me.
- armed_rob0
you on mac or pc?
- armed_rob0
can it be the web server?
Its suports PHP4!
?
- unfittoprint0
post the php script.
- armed_rob0
Script:
http://www.armedrob.dk/php2/phps…Mail form:
http://www.armedrob.dk/php2/emai…