use smtp setting instead of php mail function