ERPNext Invalid Outgoing mail Server or Port

Hope, this will help.