# Mailto 'Flash variable' subject?!?!

**URL:** <https://forum.kirupa.com/t/mailto-flash-variable-subject/34926>\
**Category:** web dev\
**Created:** [November 7, 2003, 11:13pm UTC](https://forum.kirupa.com/t/mailto-flash-variable-subject/34926 "2003-11-07T23:13:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nizamm](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nizamm/32/7613_2.png) [@nizamm](https://forum.kirupa.com/u/nizamm)\
**Post date:** [November 7, 2003, 11:13pm UTC](https://forum.kirupa.com/t/mailto-flash-variable-subject/34926/1 "2003-11-07T23:13:21Z")

</div>

That’s right!! A normal subject for a mailto would simply go…  
[mailto:me@somewhere.com](mailto:me@somewhere.com)?subject=bla bla…

But the problem here, is that I want to send a variable to the subject line…how do i do it? It’s really URGENT !!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 8, 2003, 6:24pm UTC](https://forum.kirupa.com/t/mailto-flash-variable-subject/34926/2 "2003-11-08T18:24:23Z")

</div>

From Flash? In Flash? PHP?  
Mind explaining? What variable?..

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 8, 2003, 8:54pm UTC](https://forum.kirupa.com/t/mailto-flash-variable-subject/34926/3 "2003-11-08T20:54:30Z")

</div>

Chill!! Take it easy…If I knew all that, I would’ve mentioned it…

It’s simply Flash…no PHP…as in when a button is pressed I want to add the text that’s held in a normal ‘var message’…I think it’s got something to do with string concatenation…but what’s the syntax?!

Basically I want to put the name of the button clicked in the email subject…and it’s not a dumb thing to do and don’t ask why…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 8, 2003, 10:39pm UTC](https://forum.kirupa.com/t/mailto-flash-variable-subject/34926/4 "2003-11-08T22:39:10Z")

</div>

> Chill!! Take it easy…  
> …and it’s not a dumb thing to do and don’t ask why…

am I gonna answer or just ignore impatient youth…

Well, this time it’ll be ok, next time not. YOU said ‘It’s really URGENT !!!’ , so better explain exactly what you need…

button.onRelease = function(){  
subjectText = this.\_name;  
getURL(“[mailto:me@somewhere.com](mailto:me@somewhere.com)?subject=”+subjectText);  
}

If it doesn’t work, don’t ask again.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2003, 5:42pm UTC](https://forum.kirupa.com/t/mailto-flash-variable-subject/34926/5 "2003-11-09T17:42:10Z")

</div>

yeah dont be an arse. I was not going to answer your question…glad eyez was nice enough to.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2003, 9:46pm UTC](https://forum.kirupa.com/t/mailto-flash-variable-subject/34926/6 "2003-11-09T21:46:37Z")

</div>

GUYS GUYS!! PEACE !! GOT THE WRONG PICTURE!! I SURRENDER…  
I didn’t mean to say ‘don’t ask why’ coz you did, eyezberg…I was completely referring to the very dumb idea I myself had on using the instance name for the email subject…I was just making it a generic statement for anyone not to ask why coz I felt a lil dumb coming up with such an idea…I never had any thought of offense to anyone…it’s a complete misunderstanding…sorry for the misconception…peace guys…I’m a newbie here…so it’ll take time for me to get used to the place yeah?!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 10, 2003, 4:20am UTC](https://forum.kirupa.com/t/mailto-flash-variable-subject/34926/7 "2003-11-10T04:20:41Z")

</div>

cool man…my apologies. Be a lil careful with your wording.
