Spam attack possible?
Posted: Fri Jul 29, 2005 4:55 am
I have a form on this page in PHP
http://www.irishmusicteachers.ie/contact.php
I have this setup so that I actually get an email with all the details and
nothing is actually sent to my database. Lately I'm getting emails
containing the code below.
I have now found this site http://www.anders.com/cms/75/Crack.Attempt/Spam.Relay describing the detail but I don’t really know how to approach what they recommend in my PHP script.
Thanks for any advice
Brian
This is my code
And this is the spam email I often get.
http://www.irishmusicteachers.ie/contact.php
I have this setup so that I actually get an email with all the details and
nothing is actually sent to my database. Lately I'm getting emails
containing the code below.
I have now found this site http://www.anders.com/cms/75/Crack.Attempt/Spam.Relay describing the detail but I don’t really know how to approach what they recommend in my PHP script.
Thanks for any advice
Brian
This is my code
Code: Select all
$from = 'IMT<info.blah.ie>' . "\r\n";
$subject = 'Message from your Web Site' . "\r\n";
$headers = "To: Irish Music Teachers <info@blah.ie> \r\n";
$headers .= "from: $from\n";
$message = $_POST['Name']. ' is requesting some information.' . "\r\n";
$message .= ' ' . "\r\n";
$message .= 'The Subject is: ' .$_POST['Subject']. "\r\n";
$message .= ' ' . "\r\n";
$message .= 'They wrote: ' ."$messagedetails". "\r\n";
$message .= '' . "\r\n";
$message .= 'You can email them back at: ' .$_POST['Email']. "\r\n";
$message .= ' ' . "\r\n";
$message .= ' ' . "\r\n";
$message .= ' ' . "\r\n";
$message .= 'This email has been automatically generated. Please do not reply to it.' . "\r\n";Code: Select all
kxsquqwn@irishmusicteachers.com is requesting some information.
The Subject is: kxsquqwn@irishmusicteachers.com
Content-Type: multipart/mixed; boundary=\"e;===============1884661094==\"e;
MIME-Version: 1.0
Subject: b19e6e1e
To: kxsquqwn@irishmusicteachers.com
bcc: bergkoch8@aol.com
From: kxsquqwn@irishmusicteachers.com
This is a multi-part message in MIME format.
--===============1884661094==
Content-Type: text/plain; charset=\"e;us-ascii\"e;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
bugdqondhn
--===============1884661094==--
They wrote: kxsquqwn@irishmusicteachers.com
You can email them back at: kxsquqwn@irishmusicteachers.com