# Catching "Error opening URL"

**URL:** <https://forum.kirupa.com/t/catching-error-opening-url/228522>\
**Category:** flash\
**Created:** [June 8, 2007, 3:01pm UTC](https://forum.kirupa.com/t/catching-error-opening-url/228522 "2007-06-08T15:01:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![perfecthill](https://avatars.discourse-cdn.com/v4/letter/p/c77e96/32.png) [@perfecthill](https://forum.kirupa.com/u/perfecthill)\
**Post date:** [June 8, 2007, 3:01pm UTC](https://forum.kirupa.com/t/catching-error-opening-url/228522/1 "2007-06-08T15:01:14Z")

</div>

Hi,

I’m still really a newbie when it comes to advanced actionscriptness, and I can’t find a solution to this problem anywhere on the internet.

I have an php mail function on a server, I’ve made a little flash .exe that I want to send email from. This all works fine, but when the internet connection is lost I want to be able to catch that error and do something else.

Using “Try, Catch…” doesn’t seem to work and I understand it’s because this is fairly limited. Does any one else know how to solve this one?

Thanks!
