Pls point me in the right direction - hide e-mail address

D

Doesn't Matter

Greetings
I am not looking for a spambot killer or an obfuscator, what I need
is something that will achieve the following. Could someone pls point
me at a suitable script.
I run a site which, in part, allows a runaway child or their parents to
communicate with each other by messages, I would like them to be
able to do this by e-mail however, neither side, and particularily the
child side should have their e-mail address divulged.
What I need is basically a simple form with a text box and a 'Send Message'
button that, in the background in fact sends an e-mail without anyone being
able to see where the e-mail is actually going to, neither in the status bar
or by viewing the source.
Is this possible in Perl or am I better to have all the e-mails directed to
us and
we re-send them on. Surely something like this though can be automated.
Similiar, I guess, to how it is done on the 'dating' websites.
Any pointers gratefully received.

Webmaster
http://www.kidwatch-uk.net
 
D

David Efflandt

I am not looking for a spambot killer or an obfuscator, what I need
is something that will achieve the following. Could someone pls point
me at a suitable script.
I run a site which, in part, allows a runaway child or their parents to
communicate with each other by messages, I would like them to be
able to do this by e-mail however, neither side, and particularily the
child side should have their e-mail address divulged.
What I need is basically a simple form with a text box and a 'Send Message'
button that, in the background in fact sends an e-mail without anyone being
able to see where the e-mail is actually going to, neither in the status bar
or by viewing the source.
Is this possible in Perl or am I better to have all the e-mails directed to
us and we re-send them on.

You could store a colon separated unique ID and e-mail address list in
separate file like (doesn't even matter if the ID is a name with spaces,
just so you weed out any colons):

id_string:[email protected]

or

1st_name Lastname:[email protected]

Demo script to find them:

#!/usr/bin/perl -w
my $id = shift; # actually assign this from form variable
my $addrfile = 'addrlist.txt';
my $email;
open(IN, $addrfile) || die "can't open $addrfile: $!\n";
while (<IN>) {
chomp;
if (/^$id:(.+)$/) {
$email = $1;
last;
}
}
print "$id\t$email\n";
 
B

Ben Morrow

Doesn't Matter said:
Greetings
I am not looking for a spambot killer or an obfuscator, what I need
is something that will achieve the following. Could someone pls point
me at a suitable script.
I run a site which, in part, allows a runaway child or their parents to
communicate with each other by messages, I would like them to be
able to do this by e-mail however, neither side, and particularily the
child side should have their e-mail address divulged.

You will need to be careful about all the places in the email where
the 'sender' address might appear, particularly the SMTP envelope.

I would suggest the 'From' line should contain just a name (no address
at all) and the sender address and Reply-To should be
<child'(e-mail address removed)>, which you can then forward to the child.

Ben
 
M

Malcolm Dew-Jones

Doesn't Matter ([email protected]) wrote:
: Greetings
: I am not looking for a spambot killer or an obfuscator, what I need
: is something that will achieve the following. Could someone pls point
: me at a suitable script.
: I run a site which, in part, allows a runaway child or their parents to
: communicate with each other by messages, I would like them to be
: able to do this by e-mail however, neither side, and particularily the
: child side should have their e-mail address divulged.
: What I need is basically a simple form with a text box and a 'Send Message'
: button that, in the background in fact sends an e-mail without anyone being
: able to see where the e-mail is actually going to, neither in the status bar
: or by viewing the source.
: Is this possible in Perl or am I better to have all the e-mails directed to
: us and
: we re-send them on. Surely something like this though can be automated.
: Similiar, I guess, to how it is done on the 'dating' websites.
: Any pointers gratefully received.

Various sites run anonymous mail services. I do not know what "packaged"
code they use, but I would investigate those sites (like maybe ask someone
who runs one) to find what you can.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top