Remove duplicated code and change Send Mail logic for Unix plateforms

the .fbp file has been migrated to latest 3.4 wxFormBuilder version