This is a search engine friendly CGI program that outputs help documents.
The LufDoc (Live User Fed Documentation) comment system will be implemented soon.

PSP Help Doc Indexer System

(Version 1.4.1)


Declaration:

function smtp_message(const ffrom, fto, fsubject, message: string): SMTPMessage;

Arguments:

ffrom From field value, e.g. 'john@doe.com' or 'John Doe <john@doe.com>'
fto To field value, e.g. 'john@doe.com' or 'John Doe <john@doe.com>'
fsubject Message subject
message Message text

Description:

This function constructs SMTP message from minimal set of parameters.

Returns:

Valid SMTP message handle on success, NIL (NULL) pointer on error.

Usage:

s := 'Hello,' +#13+#10+ 'Thanks for reading this message!' +#13+#10+ 'Bye.';
mp := smtp_message('author@domain.com', 'subscriber@domain.com', 'Test message', s);

See also:

smtp_attach, smtp_free, smtp_get_header, smtp_put_header, smtp_send, smtp_set_header, smtp_set_text_type.

PSP Help documents