Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Email contact on website

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
Matt.j5b
Posts: 512
Joined: Mon 28 Nov 2011 2:13 am
Weather Station: Davis VP2/ WLL with DFARS
Operating System: RPi Raspbian (Buster)
Location: Ferny Grove, Brisbane, Australia
Contact:

Email contact on website

Post by Matt.j5b »

What is the best way on my site to include a email contact as mentioned on my about page as the following:"hope that you find the information useful, your comments, thoughts and/or suggestions are welcome (to be added in the future)." Now that my site works, I want to do some work with it, I am slowly learning after making some changes to the pages and some webtags, but I am not a expert in this web stuff. That why I am asking for help. I have seen on a few sites a link you can click one and that takes you a window so that you can send a email. Advice regarding this would be greatly appreciated.
Regards, Matt of Brisbane, Australia
Ferny Grove Weather
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Email contact on website

Post by beteljuice »

... I have seen on a few sites a link you can click one and that takes you a window ...
That suggests that they are using a mail 'form' which in turn uses script on their providers server. (Check your providers site help / scripts section)

That is the safest way to go to stop any spam !

The easiest way to do it is to create a mailto: link

Code: Select all

<a href="mailto:me@there.com">Mail Me</a>
This invokes whatever mail program the user has on their PC.

You can 'add' to the call. eg. to 'pre-fill' the subject line:

Code: Select all

<a href="mailto:me@there.com?subject=From%20Your%20Weather%20Site">Mail Me</a>
Note the use of %20 instead of spaces !

However; spambots could well pick up your mail name for nefarious purposes.
There are various code snippets on the web to 'hide' your mail address. This one is as good as any:

http://jumk.de/nospam/stopspam.html

Simple cut 'n' paste stuff ;)

If you do put ?subject=
Remember to delete it from the end of the html link (cosmetic)

Hint. If you do use the above site just make a copy of the page and then you have your own encoder without going back to the site if you decide eg. to have different subject content for different pages / sites ;)
Image
......................Imagine, what you will KNOW tomorrow !
Matt.j5b
Posts: 512
Joined: Mon 28 Nov 2011 2:13 am
Weather Station: Davis VP2/ WLL with DFARS
Operating System: RPi Raspbian (Buster)
Location: Ferny Grove, Brisbane, Australia
Contact:

Re: Email contact on website

Post by Matt.j5b »

Thanks beteljuice for your advice. I will check with my webspace provider to see if the script be OK. Sounds easy, so pop a little code in the webpage. Hiding the email address sounds like a good idea using the code snippet, so I look into that. Thanks very much, you have set me in the right direction. ;)
Regards, Matt of Brisbane, Australia
Ferny Grove Weather
Image
Matt.j5b
Posts: 512
Joined: Mon 28 Nov 2011 2:13 am
Weather Station: Davis VP2/ WLL with DFARS
Operating System: RPi Raspbian (Buster)
Location: Ferny Grove, Brisbane, Australia
Contact:

Re: Email contact on website

Post by Matt.j5b »

Done that and works perfectly. Thanks so much.
Regards, Matt of Brisbane, Australia
Ferny Grove Weather
Image
Post Reply