Heya, Syam.
TSDN members are expected to write their own code. We're happy to help you out if you have specific questions, but you can't realistically expect someone to do your coding for you on a free forum.
I'll help out with the logic to get you started:
[PHP]//select all email addresses
$sql = "SELECT emailAddress FROM emailAddress_tbl;";
$result=@mysql_query($sql);
//loop thru results and send the mail
while(list($emailAddress)=@mysql_fetch_row($result )){
//set up the mail variables
mail($emailAddress,$to,$message,$otherHeaders);
}[/PHP]
Hope that helps get you started.
Greg