How can i send mails through the php script?? I am trying to do somthing like this:
for($k=0;$k<=$x->length-1;$k++)
{
for($l=0;$l<=$j-1;$l++)
If you are on a shared web host, or your home computer, the main domain for the server will be something like
server.your-isp-or-host.com
The spam filter will then see the email claiming to be from
yourdomain.com
when it really came from the first address, and would then delete it.
This would explain the hit-and-miss nature of your error.
If you are on a dedicated server, or a static IP pointing to your home computer with properly set up DNS, the above does not apply.