#24 Issue when sending mail to a character with the same first name

Status: Open · Area: Everything Else

Mailing a character that shares your first name but has a different last name wrongly says you cannot mail yourself.

Current behavior

If you have two characters with the same first name but different last name and try to send mail between them you will get an error message saying "You can't send mail to yourself" even though the full name is specified in the "To" field

Expected behavior

The mail should be sent to the specified character

How to reproduce

1. Have two characters with the same first name, different last name. I.e "Testsubject SubjectA" & "Testsubject SubjectB"
2. Go to a mailbox and go to the Send mail tab
3. From one of the characters, let's say "Testsubject SubjectA" type "Testsubject SubjectB" in the To field and fill out the subject field and 1 copper
4. Press the Send button
5. It will fail and say "You can't send mail to yourself"