validation for shareby mail, bug #35