# Mailto problem

**URL:** <https://forum.kirupa.com/t/mailto-problem/100923>\
**Category:** Uncategorized\
**Created:** [February 3, 2004, 11:51pm UTC](https://forum.kirupa.com/t/mailto-problem/100923 "2004-02-03T23:51:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danboy](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@Danboy](https://forum.kirupa.com/u/Danboy)\
**Post date:** [February 3, 2004, 11:51pm UTC](https://forum.kirupa.com/t/mailto-problem/100923/1 "2004-02-03T23:51:56Z")

</div>

Hi there,

I’m having a mystifying problem with sending an email from Flash MX 2004. I have an email button with this code attached directly on the button:

on (release) {  
getURL("mailto:info@fletchermunsoneffect.co.uk");  
}

but it just won’t work. However, when I preview the swf in a browser it works for some reason. This is a problem, as the finished swf is intended for a CD-Rom presentation which will autorun upon inserting the CD, and the swf will fill the whole screen (again, this works but the email doesn’t!)

I’ve also tried creating a function within the frame such as:

mailbtn.onpress = function() {  
getURL("mailto:info@fletchermunsoneffect.co.uk");  
};

but this doesn’t work either!

Any suggestions would be greatly appreciated,

Dan
