Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   Simple Mail Transfer Protocol (SMTP)
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
HareScript
Internet connectivity
 
File transfer (FTP)
Hypertext transfer (HTTP)
IMAP library
MIME and RFC822
POP3 email
Simple Mail Transfer Protocol (SMTP)
TCP/IP connections
Simple Mail Transfer Protocol (SMTP)

This library offers functions to build messages (including messages with alternative HTML parts and attachments), and send those messages to a mailserver using the SMTP protocol

Use the following code in your script to load the library:

  LOADLIB "wh::internet/smtp.whlib";

Public Functions and Macros

CloseSMTPConnection This function will close the connection to the SMTP server
CreateSMTPConnection This function will try to create a connection to an SMTP server
GetSMTPEmailHeader Create a basic email header
GetSMTPError This function will check and clear the last error that occured
IsValidEmailAddress Check if an email address is valid
SendSMTPMessage This function will send a message to the SMTP server
SendSMTPSingleMessage Simple mail send function
 
Top To top of page