NAME
createEnvelope -- create an envelope.
FUNCTION
Creates and initializes and envelope.
NAME
setHeader -- write something on the envelope.
SYNOPSIS
void setHeader(envelope *e, int headerType, char *format, ...)
FUNCTION
Dynamically create a mail header.
NAME
destroyEnvelope -- free memory used by an envelope.
SYNOPSIS
destroyEnvelope(envelope *e)
NAME
eMail -- mail the contents of a file to someone.
FUNCTION
Mail a file to someone.
INPUTS
e -- envelope aGame -- game structure, contains settings for mailer etc. fileName -- name of the file to send.
RESULT
status 0, all OK.
>0, something went wrong
BUGS
Does not write anything to the log file.