In a diplomatic overture that was immediately dismissed by the United States , President Mahmoud Ahmadinejad of Iran sent a lengthy letter to President Bush over the weekend offering what an Iranian spokesman called '' new ways '' to resolve the crisis over Iran 's nuclear program .