This is the best solution for servers where their configuration does not allow you to send emails directly.