How can I send mail from a CGI program running on a SiteStak?
If your CGI program knows the name or address of a mail gateway, the program can connect to the sendmail port at the mail gateway to have the gateway machine send mail on behalf of the SiteStak. SiteStak includes a perl library that implements the SMTP (sendmail) protocol. To use the library from a perl CGI program, use code like require ‘smtp.pl’; # …