Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- wodSmtp
- Methods
- Properties
- Authentication
- Blocking
- Certificate
- CharSet
- DNSHostname
- Hostname
- LastError
- LastErrorText
- Login
- MailFrom
- MailTo
- Message
- MyHostname
- MyIP
- Notification
- Password
- Port
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RequestReceipt
- RetryCount
- RetryWait
- Security
- State
- StateText
- Tag
- Timeout
- Transcript
- UseIPv6
- Version
- Events
- IwodSmtpClientNotify
- SmtpEncoder
- SmtpHdr
- SmtpHdrs
- SmtpMsg
- SmtpMsgs
- wodSmtp
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Base64 Method
Encodes file using Base64 encoding.
Syntax
- Basic
object.Base64 (InFile, OutFile)
The Base64(object,InFile,OutFile) syntax has these parts:
The Base64(object,InFile,OutFile) syntax has these parts:
object | An expression evaluating to an object of type SmtpEncoder |
InFile | Required. A String value. Holds full path to file on disk that is to be encoded. |
OutFile | Required. A String value. Holds full path to file on disk where encoded file will be saved. |
Remarks
Base64 method will encode file specified in InFile parameter and store it to file specified in OutFile parameter. BASE64 encoding will be used. If result file exists, it will be overwritten.Resulting data is text-only file that can be safely transported over internet.
No headers are defined or added to current message object. If you want to add attachment, you should use Message.Attach method instead.