<?php
$city = "Seattle";
$sql = mysql_query("SELECT email FROM table WHERE city='".$city."'");
$fetch = mysql_fetch_array($sql);
foreach($fetch as $to){
mail($to, "Subject", "Body", "FROM: me <me@you.com>");
}
?>
Viola. You'll need to modify it for your needs though.