Iran's new president decried harsh sanctions against his country and said he was ready for dialogue over its nuclear program.