Solve UVa 10986 - Sending email.