This should be possible to adjust in the smtp settings of the wordpress instance. You can find those at https://<domain>/wp-admin/options-general.php?page=wp_mail_smtp.php