|
|
Manual Page ViewerName: E-MAIL::SENDMAIL Section: Network Appendix
<e-mail::sendmail FROM TO[] CC[] BCC[] HEADERS[] MESSAGE
Description:
Send the mail message MESSAGE using a network stream from FROM to TO. The host used to connect to for SMTP defaults to the value of the variable E-MAIL::MAILHOST, or "localhost" if that variable is not defined. TO, CC, BCC and HEADERS are arrays containing elements of the indicated type.
<e-mail::sendmail webmaster@mysite.com bfox@ua.com "" ""
"Subject: Testing e-mail::sendmail
Reply-to: nobody@nobody.com"
"This is the body of the message.">
If the variable E-MAIL::DEBUG-SENDMAIL-SESSION is non-empty, it says to populate the array e-mail::sendmail-session with the conversation that takes place between Meta-HTML and the SMTP server at E-MAIL::MAILHOST.
Edit Pointer
![]() The META-HTML Reference Manual V2.0 Copyright © 1995, 1998, Brian J. Fox Found a bug? Send mail to bug-manual@metahtml.org |