PDA

View Full Version : email pop up box


walbar
6-21-03, 03:36 PM
I am looking to add a pop up box for someone to register for my newsletter.
The ones I have seen actually open the subscribers email program so I am sure that he is not giving me a "phoney" email address.
I looked in the resources section under popups but there are so many I got confused.

Can anyone help me?

Thanks,
Walter

Trip59
6-21-03, 05:45 PM
From what you described, you want what happens when you click on an Email link and a new Email is opened from Outlook or such, right?

Basically, you want THEM to have to send you an Email from themselves as opposed to filling in a form.

Simple to do, however it may be a pain if the person isn't running an Email program that will do that.

the simplest way is
<a href="mailto:yourmailaddy@yourdomain.com>yourmailaddy@yourdomain.com</a>

A way to do this without getting hit by a spambot is this script, it writes the address in the page viewed, and that is the only place the address can be seen, it can't be pulled from the code,
Just change the part in bold

<script language="JavaScript">

<!-- Begin
user = "username";
site = "yourdomain.com";

document.write('<a href=\"mailto:' + user + '@' + site + '\">');
document.write(user + '@' + site + '</a>');
// End -->
</script>

Alternatively, there are scripts that will not only open a new Email, but will fill in your address, the subject, and the body of the Email, all they would have to do is click send. If that is something you wanted, you could check some of the script sites, I think I saw it on javascripsource.

Junior
6-23-03, 03:15 PM
You can try this. I can't figure out how to get the body to be pre filled in

<a href="mailto:address@mydomain.com? subject=Test&cc=address@domain2.com" ENCTYPE="text/plain">E-Mail Me</a>

This will also let you carbon copy someone else. If you don't want that, delete the &cc=address@domain2.com part

Trip59
6-23-03, 05:38 PM
If you add an &Body="whatever" you should be able to get the text to appear in the body, I have not used this before, you might want to test it out before using it in a page.