Connect to the server specified on the port specified.
If the port is not specified use the default SMTP_PORT.
If tval is specified then a connection will try and be
established with the server for that number of seconds.
If tval is not specified the…
Issues a data command and sends the msg_data to the server
finializing the mail transaction. $msg_data is the message
that is to be send with the headers. Each header needs to be
on a single line followed by a <CRLF> with the message headers
and…
Starts a mail transaction from the email address specified in
$from. Returns TRUE if successful or FALSE otherwise. If True
the mail transaction is started and then one or more Recipient
commands may be called followed by a Data command.
Starts a mail transaction from the email address specified in
$from. Returns TRUE if successful or FALSE otherwise. If True
the mail transaction is started and then one or more Recipient
commands may be called followed by a Data command. This…