Added: Config file read function
Fixed: Possible issue with send mail function