Chapter 5. Mail

Tutos supports mailboxes for individual users and it is possible to use either POP3 or IMAP accounts. When one wishes to send email, there are two different ways of sending mail; sendmail or SMTP. TUTOS will only send mails if the currently acting user has an defined email address that could be used as the senders IP address ! In "demo" mode no mails are sent ! In mailmode 0 no mails are sent !

About using sendmail: define the path to your sendmail (or clone) location on you web server machine.
$tutos[mailmode] = 1;
$tutos[sendmail]  = "/usr/lib/sendmail";

About using SMTP: define the IP-adres of the SMTP relay host. Then TUTOS will try to connect to the localhost and deliver the mails.
$tutos[mailmode] = 2;
$tutos[smtphost] = "127.0.0.1";