Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Mailto link question
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Martin1
Super User

Netherlands
626 Posts

Posted - 31 Jan 2006 :  11:54:34  Show Profile  Reply with Quote
I have added a mailto link on every page of my new site. But when I hit the link not only does it open my e-mail program but it also works as a link to a new page with nothing in it except for:

mailto:myemailadres@myemailadres.com

If you want to take a look feel free to do so at:
at the top right you see three links called home - e-mail - log-in.

This is the code used to create the mailto link:
<A class=verdana7FFFFFFFFFFFFt
href="javascript:document.location='mai'+'lto:'+'a'+'bu'+'a@a'+'b'+'ua.'+'nl';">e-mail</A>

What am I doing wrong because this new page ought not to be opened?

Martin

Edited by - Martin1 on 30 Jul 2006 23:51:30

jtarin
Super User

Russia
444 Posts

Posted - 01 Feb 2006 :  17:14:47  Show Profile  Visit jtarin's Homepage  Reply with Quote
In Mozilla and Firefox it only opens your default mail client. As you outline above its only in Intenet Explorer that this behavior exhibits. Use.. <a href="mailto:'mai'+'lto:'+'al'+'bru'+'na@a'+'br'+'una.'+'nl';">email</a> if you can instead. It seems to work fine that way in IE and your address is still obfuscated.

Porky
www.pacificwavetour.com

Edited by - jtarin on 01 Feb 2006 17:18:59
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 01 Feb 2006 :  17:27:18  Show Profile  Reply with Quote
Hello jtarin!

Thanks for the help mate this works excellent so far as I can tell:-).

Another problem solved[3 up]

Martin
Go to Top of Page

jtarin
Super User

Russia
444 Posts

Posted - 03 Feb 2006 :  03:24:49  Show Profile  Visit jtarin's Homepage  Reply with Quote
Your more than welcome Martin1...its always the little things that drive us crazy :p

Porky
www.pacificwavetour.com

Edited by - jtarin on 08 Jun 2008 14:09:24
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 03 Feb 2006 :  15:08:13  Show Profile  Visit s.dav's Homepage  Reply with Quote
Hello boys,

I've forgot this topic because I've lost my internet connection :-(

So if you want to avoid the opening of a new window simply write the same code using the "OnClick"/"JavaCall" event ;-)

This because a link always change the current page ;-)

Regards, Davide
Go to Top of Page

rtrufus
Practical

24 Posts

Posted - 03 Feb 2006 :  18:52:21  Show Profile  Visit rtrufus's Homepage  Reply with Quote
I'm a new user to the program and I found this thread while trying to create a simple "contact" link that will open up the browsers email program. I don't quite follow what you guys are doing here, but this worked for me--so, in case someone needs it:
create a label, open the link wizard, choose "file on the internet", enter the following: mailto:xxx@xxxyz.com

--Ian
(Great program, Davide, very much enjoying it and learning a lot!)
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 03 Feb 2006 :  19:45:05  Show Profile  Visit s.dav's Homepage  Reply with Quote
Hello rtrufus,

yes, your method works but it's subject of SPAM :-(

Regards, Davide
Go to Top of Page

jtarin
Super User

Russia
444 Posts

Posted - 05 Feb 2006 :  01:26:28  Show Profile  Visit jtarin's Homepage  Reply with Quote
Davide using the "OnClick"/"JavaCall" event my dialogue is only able to accept a limited amount of characters. What do you recommend when the script is longer in length? Edit by hand the finished HTML?

Porky
www.pacificwavetour.com
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 06 Feb 2006 :  18:28:06  Show Profile  Visit s.dav's Homepage  Reply with Quote
??? Maybe there is a bug???
Please send me a sample! :-)

Regards, Davide
Go to Top of Page

jtarin
Super User

Russia
444 Posts

Posted - 07 Feb 2006 :  08:00:50  Show Profile  Visit jtarin's Homepage  Reply with Quote
quote:
Originally posted by s.dav

??? Maybe there is a bug???
Please send me a sample! :-)

Can't replicate it now....[2 ?:-|]

Porky
www.pacificwavetour.com
Go to Top of Page

Chranz
Novice

Austria
2 Posts

Posted - 18 Feb 2006 :  15:22:52  Show Profile  Visit Chranz's Homepage  Reply with Quote
quote:
Originally posted by s.dav

Hello rtrufus,

yes, your method works but it's subject of SPAM :-(




Hi everybody!

Why is this method subject of spam?

Greetings from sunny Vienna!
Go to Top of Page

jtarin
Super User

Russia
444 Posts

Posted - 19 Feb 2006 :  11:35:58  Show Profile  Visit jtarin's Homepage  Reply with Quote
quote:
Originally posted by Chranz

quote:
Originally posted by s.dav

Hello rtrufus,

yes, your method works but it's subject of SPAM :-(




Hi everybody!

Why is this method subject of spam?

Greetings from sunny Vienna!


Because the phrase "mailto:" and an explicit mail address are detected by webbots scanning your pages for legitimate email addresses to add to their spam list.

Porky
www.pacificwavetour.com
Go to Top of Page

Chranz
Novice

Austria
2 Posts

Posted - 19 Feb 2006 :  17:37:42  Show Profile  Visit Chranz's Homepage  Reply with Quote
[/quote]
Because the phrase "mailto:" and an explicit mail address are detected by webbots scanning your pages for legitimate email addresses to add to their spam list.
[/quote]

Thank You John! Good to know ...
Go to Top of Page

a3s
Novice

Netherlands
11 Posts

Posted - 30 Jul 2006 :  13:42:01  Show Profile  Visit a3s's Homepage  Reply with Quote
I understand that if I want to create a contact-button on my website for e-mail-contact, I can:
- insert a button-object (list left on the screen);
- make Value = Contact
- open within the object the event editor;
- choose the event Onclick;
- choose the action Javacall;
and then I have to insert the Java-code in the field Java call.

But it's not quite clear for me which code I have to fill in.
(or does I have to learn HTML and Java?)
The codes
<a href="javascript:document.location='mai'+'lto:'+'a'+'3s@c'+'ai'+'way'+'.nl';">e-mail</a>
(for the e-mail-adress a3s@caiway.nl)
or
<a href="mailto:'mai'+'lto:'+'a'+'3s@c'+'aiw'+'ay.'+'nl';">email</a>
give a HTML-page-result with a button and the following text (besides the button):
email;return false;" value="Contact">

Adrie
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 31 Jul 2006 :  08:44:51  Show Profile  Visit s.dav's Homepage  Reply with Quote
The simpler way is by creating a link prefixed with

mailto:

and adding your email address encoded with this program:

http://www.snapfiles.com/get/antispamencoder.html

Regards, Davide
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 11 Apr 2008 :  21:41:47  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Davide: I tried your suggestion of creating a mailto: link and adding my email address encoded with "antispamencoder". It keeps getting rejected because it is not in the format user@host.

Did this work at some time and now does not? How do I fix it?
Go to Top of Page

jtarin
Super User

Russia
444 Posts

Posted - 12 Apr 2008 :  14:52:50  Show Profile  Visit jtarin's Homepage  Reply with Quote
Try this one:
http://natata.hn3.net/antispam_encoder.htm
Use download link at bottom of page.

Porky
www.pacificwavetour.com
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 12 Apr 2008 :  15:34:45  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Porky: that's the same program that Davide suggested...

I figured out the problem... it does NOT work with the link as Davide suggested; it has to be an HTML object. Works like a champ now!

Edited by - rmmarsh on 12 Apr 2008 17:45:26
Go to Top of Page

Tonivel
Practical

27 Posts

Posted - 12 Apr 2008 :  22:56:33  Show Profile  Visit Tonivel's Homepage  Reply with Quote
Try

http://www.softpedia.com/get/Internet/E-mail/Mail-Utilities/Obfusticated-Email-Link-Creator.shtml

It's simple and free.


Regards, Tonivel
Go to Top of Page

jtarin
Super User

Russia
444 Posts

Posted - 13 Apr 2008 :  13:14:09  Show Profile  Visit jtarin's Homepage  Reply with Quote
The program works on mail-links in an already html coded page....not by encoding then adding.

Porky
www.pacificwavetour.com
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 14 Apr 2008 :  15:47:13  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Porky... not sure what you are trying to tell me... I created a mailto: link as Davide suggested and added the obfuscation to it... rejected. But if I take a HTML object and add the verbage and link, it works great! So, I'm really not sure what you are saying, sorry...
Go to Top of Page

jtarin
Super User

Russia
444 Posts

Posted - 14 Apr 2008 :  22:43:59  Show Profile  Visit jtarin's Homepage  Reply with Quote
I just create my mailto-links as usual and use the encoder on the completed,exported .html/.htm pages as directed and have never had any problems. I use the encoder to do many pages at once.

Porky
www.pacificwavetour.com
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 15 Apr 2008 :  02:57:21  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Oh... I see... I just do it differently with a different program... thanks for the update...

R
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000