Skip to main content
Participant
June 4, 2009
Answered

Mailto is launching email ok but also launching blank web page

  • June 4, 2009
  • 2 replies
  • 784 views

i am using AS3 on a website. Part of the AS has been setup by an external source and I ma now updating and adapting it. My knowledge of AS is limited but slowly expanding.

Currently the site is a main flash file with all the content delivered via a main.as file and then populated via images and videos held in folders on the web.

In one section we have an email link.

I was using Email: <a href='mailto:name@company.com>contact@company.com</a> and it worked fine. It launched the email program and put the email address in ready to go.

When I added the subject element as below

Email: <a href='mailto:name@company.com.?subject=Email%20Enquiry'>contact@company.com</a>

it now does what it should with the email program but it also opens a blank webpage.

What can I do to get rid of the blank web page opening?

thanks in advance

This topic has been closed for replies.
Correct answer kglad

the ? looks ok, it's the dot just before it that's not.

2 replies

grimboAuthor
Participant
June 5, 2009

yep it was that errant fullstop

thanks for the replies

kglad
Community Expert
Community Expert
June 5, 2009

you're welcome.

Known Participant
June 5, 2009

that ? looks out of place.

good luck.

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
June 5, 2009

the ? looks ok, it's the dot just before it that's not.