18.01.2024, 10:25
It should work, log what the server reply/error is:
Code:
res, err = mail('user@example.com', 'test subject', ' test message')
log(res, err)