FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Receive the same email domain but the account does not exist





nigam
Hi! how come I can receive an email which has the same domain as mine but i know the account doesn't exist. I believe this is a spam. but how can they can copy my domain?

example: my email domain is @nigam.com so I have 2 account which are info@nigam.com and admin@nigam.com BUT how come i can receive mails that like xyv@nigam.com and some others which has @nigam.com

anyone experience about this problem?
truespeed
You can clone email addys,its not an actual address,but made to look like the one you have,theres lots of anonymous email sites where you can send an email putting the sender addy as anything you want. either that or someone has access to your email account.

like this one here
sambhav
This might be a fake mail generated by adding hearder in mail funtion.

Headers are the parts seen at the top of emails. Typically : To : A comma seperated list of recipient emails.
From : The senders email address.
Reply-To : The email address where replies should be sent to.
Return-Path : Kinda the same thing as the Reply-To. Some email clients require this, others create a default.
Subject : Subject of the email.
CC : Carbon Copy. A comma seperated list of more recipients that will be seen by all other recipients.
BCC : Blind Carbon Copy. A comma seperated list of more recipients that will not be seen by any other recipients.

The TO and SUBJECT filds have already been discussed as the first and second variables in the MAIL command. The extra headers seen above can be entered as a 4th variable in the MAIL command.
Code:

<?php
mail("yourplace@somewhere.com","My email test.","Hello, how are you?","From: myplace@here.com\r\nReply-To: myplace2@here.com\r\nReturn-Path: myplace@here.com\r\nCC: sombodyelse@noplace.com\r\nBBC: hidden@special.com\r\n");
?>

Looks kinda messy when it's all in there without using variables. That above example has all of the extra headers being declared. You may specify all or some or none as you desire. There are 2 very important things to note here :

1. These headers need their NAMES: shown unlike the first three variables in the mail command. The header names are CaSe SeNsItIvE. Use per example.

2. Each header is ended with the Return and Newline characters. \r\n There are no spaces between each header.

For better organization, these extra headers can be declared in a variable string like our previous examples.

Code:
<?php
$to = "yourplace@somewhere.com";
$subject = "My email test.";
$message = "Hello, how are you?";

$headers = "From: myplace@here.com\r\n";
$headers .= "Reply-To: myplace2@here.com\r\n";
$headers .= "Return-Path: myplace@here.com\r\n";
$headers .= "CC: sombodyelse@noplace.com\r\n";
$headers .= "BCC: hidden@special.com\r\n";

if ( mail($to,$subject,$message,$headers) ) {
   echo "The email has been sent!";
   } else {
   echo "The email has failed!";
   }
?>
The $headers variable could have been typed out into one long string, but that is a bit much when it comes to editing and viewability.
Related topics
Google OS?
How to request for domain account instead of sub domain
Does God exist?
Zero $$ Clicks! :(
Problems with Member System (RMB-SCRIPTING)
Domain Name ?? And email !
Processing mail
Recovering Yahoo Account!!!
Email sending problems
Emails not being received
PHPnuke and all emails failing
Email is lost
email domain forwarding
Discrimination against Christian - a real case :-)
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Frihost Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.