Properties
| AltBody | Specifies alternative text/plain body of current email. |
| Anonymous |
Specifies whether sender's address will be displayed in email |
| Asynchronous |
Specifies the operation mode of current object. |
| AuthType |
Specifies the type of ESMTP authentication. |
| BodyFormat |
Specifies current email body text format. |
| BodyText |
Specifies current email body text. |
| Charset |
Specifies the character set in current email. |
| CodePage |
Specifies the codepage in current email. |
| ComputerName |
Domain name to send in HELO/EHLO command. |
| DK_PublicKey |
Gets the latest DomainKeys publick key. |
| EncryptionAlgorithm |
Specifies the algorithm for email encryption. |
| From |
Specifies the display name of email sender. |
| FromAddr |
Specifies the sender's email address. |
| HeaderEncoding |
Sets the encoding method of email sender name, recipient name, subject and attachments' name. |
| KeepConnection |
Specifies whether ANSMTP disconnects to server after sending an email. |
| LocalIP |
Specify the IP address of local computer to connect server. |
| LogFileName |
Log file to record all transactions between client and server. |
| NTLMAuth |
Specifies whether ANSMTP uses Secure Password to do ESMTP authentication. |
| ProxyProtocol |
Specifies the proxy server protocol (socks4/socks5/http). |
| RecipientsCerts |
Specifies the certificates of recipients to encrypt current email. |
| RegisterKey |
Registration code of ANSMTP Object. |
| ReplyTo |
Reply address of current email. |
| ReturnPath |
Specifies the email address for delivery notification report. |
| ServerAddr |
SMTP server address, it can be IP address or domain name. |
| ServerPort |
Listening port of SMTP server. |
| Signer |
Specifies the Digital Signature of current email. |
| SocksProxyServer |
Specifies socks4/socks5/http proxy server address. |
| SocksProxyPort |
Specifies socks4/socks5/http proxy port. |
| SocksProxyUser |
Specifies the user for user authentication of proxy server. |
| SocksProxyPassword |
Specifies the password for user authentication of proxy server. |
| Subject |
Subject of current email. |
| SSL_registerkey |
Registration code of SSL/TLS Plus for ANSMTP/ANPOP. |
| SSL_starttls |
Specifies whether current connection uses STARTTLS command to enable SSL/TLS. |
| TransferEncoding |
Specifies the encoding method of email body. |
| Priority |
Specifies the priority level of current email. |
| Timeout |
Specifies the timeout value in seconds. |
| UserName |
User name for ESMTP authentication. |
| Password |
Password for ESMTP authentication. |
| Version |
Current object version. This property is read-only. |
Methods
| AddAttachment |
Attach a file or URL to current email. |
| AddAttachment1 |
Attach a binary stream to current email with customized file name. |
| AddAttachmentEx |
Attach a file or URL to current email with customized file name. |
| AddAttachments |
Attach all files in specified directory to current email. |
| AddHeader |
Add customized header to current email. |
| AddInline |
Add an embedded attachment file to current email. |
| AddInlineEx |
Add an embedded attachment file to current email with customized file name. |
| AddRecipient |
Add normal, carbon copy or blind carbon copy recipient to current email. |
| AddRecipientEx |
Add multiple normal, carbon copy or blind carbon copy recipients to current email. |
| ClearAttachment |
Remove all attachments from current email. |
| ClearHeader |
Remove all customized headers from current email. |
| ClearInline |
Remove all embedded attachments from current email. |
| ClearRecipient |
Remove all recipients from current email. |
| ConvertHTML |
Convert BodyText to text format and remove all html tags from message. |
| CreateFolder |
Create a folder in local disk recursively. |
| DeleteFile |
Delete specified file from local disk. |
| GetAllEmailServers |
Retrieve all recipient's local SMTP server addresses via DNS lookup. |
| GetEmailContent |
Get current email's encoded content. |
| GetEmailHeaders |
Get text stream of current email headers. |
| GetEmailServer |
Retrieve recipient's SMTP server address via DNS lookup. |
| GetLastError |
Get latest error code while sending email. |
| GetLastErrDescription |
Get latest error descriptions. |
| ImportHtml |
Imports specified html string with embedded pictures to current email. |
| ImportMail |
Import the content of a file or URL to BodyText. |
| ImportMailEx |
Imports specified html file or URL with embedded pictures to current email. |
| LoadMessage |
Load email from POPMSG object of ANPOP to current email. |
| Reset |
Reset most properties to their default values and remove all recipients, attachments. |
| SaveMail |
Save current email to specified email file. |
| SaveMailEx |
Save current email to IIS SMTP Service pickup path. |
| SetDnsServer |
Set DNS server for lookup MX record on Windows 95. |
| SetMailer |
Specify x-mailer in email header. |
| SendMail |
Send email to specified SMTP server. |
| SendMailToQueue |
Sends an email to EASendMail Service. |
| SSL_init |
Initializes security library for SMTP SSL/TLS connection. |
| SSL_uninit |
Unload security library for SMTP SSL/TLS connection. |
| Terminate |
Terminate incomplete SendMail method in asynchronous mode. |
| TestEmailAddr |
Test if an email address is valid. |
Events
| OnAuthenticated |
Occur when ESMTP user authentication is successful. |
| OnClosed |
Occur when the connection to server closes. |
| OnConnected |
Occur when the client successfully connects to server. |
| OnError |
Occur when there is an error in sending email. |
| OnSending |
Occur when ANSMTP is sending email's content to SMTP server. |
2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.