473,671 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Receiving emails when someone views my site

Hello,

Consider the following HTML:

<form action="/cgi-bin/mailmanager.pl" method="post">
<input type="hidden" name="recipient "
value="bo****@s pringbock.net">
<input type="hidden" name="subject" value="some value">
<p><input type="submit" value="Submit"> </p>
</form>

This sends a blank email to me when the user clicks the "Submit"
button. Is there any way emails be sent w/o user interaction? I would
like to receive emails every time someone visits my site, it containing
information about their configuration (e.g. user language, whether
cookies are activated, whether javascript is enabled, what JVM is being
used, etc.).

I have neither root access on the server, nor can I use personal
server-side scripts. My ISP has lots of CGIs for me to use, but others
aren't allowed.

Thanks,
Walter Gildersleeve
usenet at easypeas dot net.

Jul 23 '05 #1
9 1873
In article <11************ *********@l41g2 000cwc.googlegr oups.com>,
<bo****@springb ock.net> wrote:
<form action="/cgi-bin/mailmanager.pl" method="post">
<input type="hidden" name="recipient "
value="bo****@s pringbock.net">


Is this a potential source for spam? I am very suspicious about any
cgi program that receives an email address as in this example.

--
Göran Larsson http://www.mitt-eget.com/
Jul 23 '05 #2
I can't image. The CGI in question is supplied by my ISP; they already
know my email address, so they already could spam me if they wanted.
It is possible that a web-crawler could find my address in the HTML and
send spam to it...I've heard this happens but haven't personally
experienced it. In any case, I plan on using a temporary/dummy email,
which can be shut down at any time.

The user causing the email to be sent has no risk, since their e-mail
isn't exposed.

Walter

Jul 23 '05 #3
in comp.infosystem s.www.authoring.html, bo****@springbo ck.net wrote:
I can't image. The CGI in question is supplied by my ISP; they already
know my email address, so they already could spam me if they wanted.
That is not the problem.
It is possible that a web-crawler could find my address in the HTML and
send spam to it...I've heard this happens but haven't personally
experienced it.
That is not problem either.
In any case, I plan on using a temporary/dummy email,
which can be shut down at any time.
Problem is not you getting lots of bad mail. Problem is other people
getting spammers stuff.
The user causing the email to be sent has no risk, since their e-mail
isn't exposed.


Try the form with address that your ISP don't know. Does it still work?
If it does, then it is problem.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Jul 23 '05 #4
In article <11************ *********@l41g2 000cwc.googlegr oups.com>,
bo****@springbo ck.net enlightened us with...
This sends a blank email to me when the user clicks the "Submit"
button. Is there any way emails be sent w/o user interaction?
Only if the user has javascript enabled. Well, unless you run it server-side,
but that won't help you (see below).
See
document.formna me.submit();
and
<body onload="somefun ction()">.

Keep in mind that form submittal generally makes the location of the document
in the window change. You may need to specify a different target.
I would
like to receive emails every time someone visits my site, it containing
information about their configuration (e.g. user language, whether
cookies are activated, whether javascript is enabled, what JVM is being
used, etc.).
If you're looking for stats, the most reliable stuff comes from headers sent
by the browser (though those can be, and are, sometimes faked i.e. Opera
sending as MSIE). Your host should provide you with logged stats. If they do
not, switch hosts.
Other than that, you'd have to run client-side testing to discover things
like whether cookies are *enabled* (that is, write one, then read it back).
Good luck finding the JVM version. :)
Any client-side testing requires client-side scripting - javascript, usually,
though MSIE supports VBScript.
I would certainly question your motives for doing something that comes darn
close to violating a user's privacy, though.

I have neither root access on the server, nor can I use personal
server-side scripts. My ISP has lots of CGIs for me to use, but others
aren't allowed.


I'd switch hosts. It's not like it's hard to find one that is inexpensive and
DOES allow custom scripts or at least support PHP and/or SSI.
--
--
~kaeli~
Kill one man and you are a murderer. Kill millions and you
are a conqueror. Kill everyone and you are God.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #5
My ISP doesn't allow forms to send emails to third-parties. I have to
be the recipient. (I even just tried sending an email to a buddy who
has a website on the same ISP, and it didn't work.)

Jul 23 '05 #6
Thanks, Kaeli...a coworker of mine just showed me the javascript
solution, which should work. I wanted a pure HTML solution, but that's
probably too much to ask.
I would certainly question your motives for doing something that comes darn close to violating a user's privacy, though.
You're kidding, right? Why on earth is the information available, if
not to use? Programs use this information constantly to conform better
to the user. I mean, the base assumption behind sandboxes is that
there *is* information that is safe to expose, and that can be used to
build a better presence.
I'd switch hosts.


My ISP *does* present the possibility, I just don't want to pay for it.
As long as I can get away with client-side scripting, I'm golden.

Walter

Jul 23 '05 #7
In article <11************ **********@o13g 2000cwo.googleg roups.com>,
bo****@springbo ck.net enlightened us with...
I would certainly question your motives for doing something that

comes
darn close to violating a user's privacy, though.


You're kidding, right? Why on earth is the information available, if
not to use? Programs use this information constantly to conform better
to the user. I mean, the base assumption behind sandboxes is that
there *is* information that is safe to expose, and that can be used to
build a better presence.


Honestly?
I like to believe that most people would be honorable and use the info for
just that.
Unfortunately, like many things that sound good in theory, spammers and
malicious people have found ways to circumvent the sandbox and invade
people's privacy. MSIE is notorious for accidentally allowing such things to
happen (the infamous buffer overflow).
Because of the nasty people, now we all have to consider what we post on
public forums out of fear that some will use the information we posted to do
bad things.

Think about it -- my public records, freely available, say everything about
me. Someone can go buy my credit history, find out what properties I own, and
more. Some people have legit reasons for wanting that. Others will use it for
identity theft.

--
--
~kaeli~
A chicken crossing the road is poultry in motion.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #8
kaeli wrote:
Think about it -- my public records, freely available, say everything about
me. Someone can go buy my credit history, find out what properties I own, and
more. Some people have legit reasons for wanting that. Others will use it for
identity theft.


Kaeli, I think you're over reacting just a little. The kind of
information the OP is interested in cannot possibly be used for anything
that serious.

NullBock, if you insist on recieving an e-mail everytime someone loads a
document and you aren't worried about recieving an abundance of e-mails
sent every single time a user reloads a page, why don't you try writing
a cgi script that sends an image back, but in the process also sends off
your e-mail by including this within your pages.

<img src="/cgi-bin/counter" alt="" height="1" width="1">

The script could just return a useless spacer gif or even a hit counter
if you want to go back to '90s craze of letting others know how many
visitors you've had just so you can boast about how (un)popular your
website is. The e-mail address and whatever else you need can be coded
into the script, without it needing to be present in the markup.
Although, I don't recommend that method, it's a waste of time when all
the hard work of creating useful statistics has already been done by
many statistics companies.

Why don't you try a service that provides free statistics like that, if
you're not willing to pay for that provided by your ISP or switch to one
that has that included in the package. There are many services that
offer such services:
http://www.google.com/search?q=Free+Web+Site+Statistics
--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web
Jul 23 '05 #9
NullBock wrote:
My ISP *does* present the possibility, I just don't want to pay for

it.

Even Geocities provides statistics for their free web pages. If your
hosting service charges extra for stats, it's time to switch.

RFM

Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2886
by: dan glenn | last post by:
I'm creating HTML emails from a PHP site and sending them out to an email list (just about 40 people so far are on this list). I've tested and confirmed that these emails work in yahoo.com's webmail. And I know they work on *my* Outlook Express. But I have one person (I know of) who gets the emails as plain text, so she sees the HTML code for the email instead of its proper representation. She has, like myself, OE6, and other html emails...
1
1760
by: Leszek | last post by:
Hello, A few weeks ago I sent a post about sending encrypted emails. I found out how to encrypt such emails using .NET, but now there is another step: How to receive them? Let's say I have sent an encrypted email using SHA1 from a WebForm. What kind of software should a user have on his/her desktop to decrypt this message?
4
1388
by: VB Programmer | last post by:
For a 2003 ASP.NET site, when is recompilation of the site on the server done? Only after the site is updated, or every time there has been a lull in visits and someone visits it for the first time? Thanks.
1
1441
by: CS | last post by:
I have a stored procedure which sends out an email to all the users listed in the database. for some reasons I am not getting all emails. could someone offere some assistance? Here's my code. Global.asa Sub Session_OnStart '==Visual InterDev Generated - DataConnection startspan== '--BCSI Data Connection
4
2137
by: tomer.ha | last post by:
Hi there, I'm new to Python, but know other scripting and programming languages. I want to develop a script which will receive emails with attachments from my POP3 account, perform certain actions on it and email it back to someone else. However, I'm not familiar with any Python library which does it. Could you a guide me to a relevant library which can handle emails?
1
2137
by: namewitheldbyrequest | last post by:
Hi, I need a script that I can run from ASP .Net that will delete all views that start with "Search". My site creates them on the fly and they tend to accumulate as more users visit the site. Is there a good SQL help web site that I can refer to that will be me started? Thanks, Bill
1
2939
by: robbiesmith79 | last post by:
Just so this is out there on the web, I battled the past 24 hours about this. Background info... I developed a ecommerce website in PHP 4 on a shared linux hosting plan from GoDaddy and had the html formatted emails sending as text/html and were going fine with limited header information. Then we moved the site over to a Dedicated Linux hosting plan. This time, it's PHP 5. Things are bound to not work as expected moving to a new...
5
7914
by: TC | last post by:
Hey All, I'm trying to upload files via FTP and I'm using FtpWebRequest and WebClient. Unfortunately, I'm receiving a "Not Logged In" error. I know that others have seen this as I've seen postings but I haven't seen any clear resolution.
0
8473
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8390
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8911
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8597
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8667
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7428
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4402
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2808
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.