Email Link question (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


Long Island Lune -> Email Link question (11/28/2004 19:29:35)

Hi All,

As most know, if you put this line in your page:

<a href="mailto:info@frontpagewebmaster.com?subject=Inquiry">

... a link is created and if you click on it, your email software will load in with the subject line "Inquiry" all ready to send an email to OutFront.

But with this method you have to "CLICK" the link in order to get the email software to pop-up.

Does anyone know how to make it automatic so that when a user goes to a page, the email software automatically pops-up without actually having to click the link?

Thanks,
LLLuneeeee [:)]




BobbyDouglas -> RE: Email Link question (11/28/2004 19:58:20)

This is a long shot, but have you tried meta refresh?




Kitka -> RE: Email Link question (11/28/2004 20:34:11)

quote:

... the email software automatically pops-up without actually having to click the link


Eek! [:o] You might want to consider what effect doing that will have on your visitors. I would only consider using that tactic if the vast majority of my visitors normally send an email every time they view the page.

I wouldn't be too thrilled if my email program pops up each time I go to a page with an email link on it. [:@] Seems overly intrusive and virtually demands that you send an email. You can bet I won't ever return to the site either.




dpf -> RE: Email Link question (11/28/2004 21:53:51)

quote:

You can bet I won't ever return to the site either.
I concur




AMysticWeb -> RE: Email Link question (11/28/2004 22:00:41)

Yikes! Me too




Long Island Lune -> RE: Email Link question (11/28/2004 22:40:44)

Everybody relax.
That's not my intention.

I used the example I gave because I didn't know any other way to explain what I need to do. But since everybody got the wrong impression I guess I'll explain now:

You've heard of click-through systems? They monitor the amount of hits that go to another website when you post someones banner on your website. In other words, you want to post your banner on my site, but you also want me to tell you how many times a month someone has clicked on the banner. So you create a click-through system that first updates a file on your site each time a visitor clicks that banner, then after the file is updated you send the visitor to the site connected to the banner.

I have that. And it works great. I created it in .asp/vb. But now I got a client that wants to be able to have the click-through bring up email software so they can send him an email, instead of sending the visitor to his site. He has a product that is a big seller, and he is giving away free samples. So he wants the banner to bring up the clients email software, with the subject line "SAMPLES REQUEST" filled in and their email address filled in.

No problem. I can do that with a link. But if I use a straight link, then I can't monitor how many times someone has clicked on the banner.

So I can either have the email software pop-up without being able to monitor how many times it was clicked on, OR - monitor how many times someone clicked on the banner, but not be able to bring up the email software. This is the delimma.


For those of you that need something like this for their site, here is the click-through script I created and use:

<<< REMOVED >>>>

Do you need to see the site I'm talking about?
<<< REMOVED >>>>
That's the site.

Okay, now that I explained everything in full glorious detail...
...and gave out a script anyone can use...
Does anyone know how to bring up email software without having to click on a link?
Thanks,
LLLuneeeee. [:)]







BobbyDouglas -> RE: Email Link question (11/28/2004 23:12:43)

Did you try the meta refresh?




Long Island Lune -> RE: Email Link question (11/29/2004 0:05:07)

Hi Bobby,

Sorry, I had forgotten about your post.
I'm not sure I follow...
Place a Meta Rrfresh tag in my header?
Or can I slip that into a script?

Thanks for your reply.
LLLuneeeee[:)]




BobbyDouglas -> RE: Email Link question (11/29/2004 0:27:21)

Well... you mentioned this goes to a new page, so I would assume you can add the meta refresh tag inbetween the <head> and </head> tags, but instead of a URL, replace it with the mailto code. [:)]

I don't know of any body onload functions that will open an href...




Charles W Davis -> RE: Email Link question (11/29/2004 12:01:11)

There is no valid reason for this intrusion. It is the same as any other advertisement thrown in my face. I would immediately cancel the e-mail without a moments hesitation. I would never return.




Long Island Lune -> RE: Email Link question (11/29/2004 14:05:04)

Caio.




Long Island Lune -> RE: Email Link question (11/29/2004 14:44:31)

For the self-rightious out there - keep this in mind.

1): Email Purpose : When you click on it, if you don't like it, you close the box and don't send an email. It reflects on the client more than it does us. We prefer the normal click-through to website, while monitoring how many times it was clicked on, not bringing up email software so they can send a email to the client.

2): Transmission Purpose : What is sent out through this business only goes to people that are registered in one of the ten associations we have listed on our homepage. Nobody else. That includes you.

3): Transmission Purpose : The list we use is by 100% opt-in. They want it, or we don't send it. Our company forces nothing on nobody.

Hope all are at ease now. [:-]




dpf -> RE: Email Link question (11/29/2004 14:46:18)

Caio




Long Island Lune -> RE: Email Link question (11/29/2004 14:49:22)

quote:

Well... you mentioned this goes to a new page, so I would assume you can add the meta refresh tag inbetween the <head> and </head> tags, but instead of a URL, replace it with the mailto code.

I don't know of any body onload functions that will open an href...


Hi Bobby,

Thanks for the info but it didn't work.
I don't know any functions for onload that would open a href either.
I already told the client it can't be done.

Thanks for trying to help. Out of all the responses - your's was the only constructive one.

Cheers,
LLLuneeeee [:)]






Long Island Lune -> RE: Email Link question (11/29/2004 14:54:39)

quote:

pdf, Caio

Say what?




BobbyDouglas -> RE: Email Link question (11/29/2004 15:20:51)

I am sure it can be done in Javascript, my knowledge of Javascript isn't that great though.

If you are still interested in doing this, I will ask around.




dpf -> RE: Email Link question (11/29/2004 15:28:54)

quote:

Say what?
I said Ciao - same as you did.




Long Island Lune -> RE: Email Link question (11/29/2004 15:40:18)

Hi Bobby,

My knowledge of Javascript is limited too. I try to avoid it. I can usually do everything I need to with asp and vb. Plus Javascript has lost some of it's zing lately. If you could ask around that would be great. I'll keep it on the backburner.

Cheers
LLLuneeeee [:)]



dpf,
I can certianlly dig that. [:)]
Have a nice day.






pesty -> RE: Email Link question (11/30/2004 13:06:39)

Well Long Island

quote:

For the self-rightious out there - keep this in mind.


I far from being self-rightous. But the folks are right. No one wants a pop up in their face the second a web page opens. It gives off a certain feeling of dishonesty and makes people think you are cheezy.

So, what if it's an opt-in. It's still annoying and it IS trying to force people to sign up. You know your company isn't like that... but your users don't.

Why would I want to opt-in to anything, without having the chance to view your webiste first.
Sure I can close the box and then read it, but, by then it would be too late. I would do as Clarles said... close the box and immediately leave the site. Never to return. In your face pop-ups and in your face dialog boxes are unprofessional when used in that manner.

Bobby is right, you can use a javascript function to complete this task.

I won't supply the script, but you can find it here:

http://www.phpfreaks.com/scripts.php

Pesty






Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.09375