Resending confirmation email results in "A failure has occurred" error - C#