Documentation

Chapter 66. sendmail

The sendmail library has one function, the sendmail() function. It provides an easy interface to the sending of SMTP emails. If all that is required is a text email, then this is the easiest way to do it.

sendmail()

Description

Prototype

sendmail ( string sFrom, string sEmailaddr, string sSubject, string sMessage, string sMailhost, string sHostname, string sTimezone, string sReplyto )

Parameters

ParameterDefault valueType nameDescription
sFromNonestring
sEmailaddrNonestring
sSubjectNonestring
sMessageNonestring
sMailhostNonestring
sHostnameNonestring
sTimezoneNonestring
sReplytoNonestring