Binary package “php-net-smtp” in ubuntu bionic

PHP PEAR module implementing SMTP protocol

 Provides an implementation of the SMTP protocol using PEAR's Net_Socket class.
 The php-net-smtp package supports the SMTP authentication standard (as defined
 by RFC-2554) if you also install the php-auth-sasl package. Net_SMTP then
 supports several authentication methods like DIGEST-MD5, CRAM-MD5, LOGIN and
 PLAIN.