# Making a button link straight to a new e-mail message?

**URL:** <https://forum.kirupa.com/t/making-a-button-link-straight-to-a-new-e-mail-message/63045>\
**Category:** flash\
**Created:** [September 2, 2004, 3:04pm UTC](https://forum.kirupa.com/t/making-a-button-link-straight-to-a-new-e-mail-message/63045 "2004-09-02T15:04:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sixpac666](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@sixpac666](https://forum.kirupa.com/u/sixpac666)\
**Post date:** [September 2, 2004, 3:04pm UTC](https://forum.kirupa.com/t/making-a-button-link-straight-to-a-new-e-mail-message/63045/1 "2004-09-02T15:04:05Z")

</div>

I have a ‘contact me’ button in a site I am doing. What I am trying to do now is to make it so that when the user clicks on that button, for them to be taken straight to a new message box.

Does anyone know how I can do this?

Thanks

---

<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:** [September 2, 2004, 3:38pm UTC](https://forum.kirupa.com/t/making-a-button-link-straight-to-a-new-e-mail-message/63045/2 "2004-09-02T15:38:00Z")

</div>

This?

```auto
getURL("mailto:you@something.com");

```

---

<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:** [September 2, 2004, 4:34pm UTC](https://forum.kirupa.com/t/making-a-button-link-straight-to-a-new-e-mail-message/63045/3 "2004-09-02T16:34:29Z")

</div>

> [@claudio](#):
>
> This?
> 
> ```auto
> getURL("mailto:you@something.com");
> 
> ```

How would you do it if the user doesn’t have Outlook (Express) on their system, for instance, I used the above code on my site but when I view the site on my Mac it will only open a blank browser window in my default browser. Is there a way to have it check for the default e-mail program and whatever it is still open a new message window??

Just curious as I’m not too familiar with Actionscript all that much.

---

<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:** [September 2, 2004, 4:38pm UTC](https://forum.kirupa.com/t/making-a-button-link-straight-to-a-new-e-mail-message/63045/4 "2004-09-02T16:38:46Z")

</div>

mailto automatically uses the default email proggy.
