Dave Chakrabarti
11-18-2005, 11:19 PM
Hi DBMasters, et all,
I was hoping someone could comment on this. DBM and others suggested hard-coding my recipient email address into my php script as a measure to secure my forms, so I did so...I recently had an account suspended at HostPC while Joe investigated possible spam coming from my account.
Joe's initial take on this is that my email form was compromised, and used to target AOL and Hotmail users with spam.
Here's the script I used:
<?php
$ToName = "Dave";
$ToEmail = "xxxxxx";
$ToSubject = "xxxxxx";
$EmailBody = "Sent By: $SenderName\nFrom: $SenderEmail\nMessage Sent:\n$Email\n";
$EmailFooter="\nThis message was sent from: $SenderEmail from $REMOTE_ADDR";
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$SenderName." <".$SenderEmail.">");
?>
Is it possible that this was simply another example of someone spoofing my domain onto their spam? This happened to me in incredible volumes a couple of years ago (300mb of bounces every two days).
All comments appreciated,
Dave.
I was hoping someone could comment on this. DBM and others suggested hard-coding my recipient email address into my php script as a measure to secure my forms, so I did so...I recently had an account suspended at HostPC while Joe investigated possible spam coming from my account.
Joe's initial take on this is that my email form was compromised, and used to target AOL and Hotmail users with spam.
Here's the script I used:
<?php
$ToName = "Dave";
$ToEmail = "xxxxxx";
$ToSubject = "xxxxxx";
$EmailBody = "Sent By: $SenderName\nFrom: $SenderEmail\nMessage Sent:\n$Email\n";
$EmailFooter="\nThis message was sent from: $SenderEmail from $REMOTE_ADDR";
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$SenderName." <".$SenderEmail.">");
?>
Is it possible that this was simply another example of someone spoofing my domain onto their spam? This happened to me in incredible volumes a couple of years ago (300mb of bounces every two days).
All comments appreciated,
Dave.