Distinct offers Network Monitor, the ONLY natural language Protocol Analyzer, ONC RPC for C++, .NET and Java, and IntelliTerm, the fastest Terminal Emulator for TN3270, TN5250 and VT420 on the market.

Knowledge Base

   Products   Downloads   Sales   Support   About us
  Knowledge Base  Ask Cody  Manuals  Source Code Library  Resources



        
 
What's the difference between the Send and the EasySend methods in the SMTP Object?
 
Product: Distinct WebMail ObjectsTopic: SMTP componentLast updated: 2/3/2008
 
Q.: What's the difference between the Send and the EasySend methods in the SMTP Object?
A.: EasySend, as its name implies, is the easiest way you will ever send email messages through a programming API. A single call connects to the SMTP server, builds the SMTP header, and sends the message taking care of encoding any non-text messages or attachments. Send allows customization of header fields and sending of messages using different encoding types.

EasySendSend
Connects and disconnects automatically but will also operate on an open connection.Must first connect
Message header can contain only the following fields: from, to, cc, bcc, subject and content-type.Any SMTP header field can be added to the file including custom header fields. (through the MIME object)
Body and header of message are not encoded You can encode the header and message body. (through the MIME object)
All attachments are automatically encoded in ‘Quoted Printable’ format, which is a standard mode of encoding.Attachments can be encoded using Quoted Printable, Base64, Binhex or Uuencoded by calling the MIME object directly.
You do not have to call the MIME object, EasySend makes all the encoding requests You must first build your email message with the MIME object then pass it to the SMTP object to send it.
Do you find this information useful ?       Yes   No   Not Sure




Search by Keyword


If you did not find what you are looking for:


Products

 Network Monitoring
The Distinct Network Monitor is a protocol analyzer for Windows that includes both packet sniffing and network traffic statistical analysis tools.

 Intelliterm
The Most Complete Terminal Emulator for TN3270, TN5250 and DEC VT220 to VT420

 RPC for C and C++
The Fastest Way to Port Your Existing Unix-RPC Applications to Windows

  7/24/2008   Legal notices | PRIVACY Policy | Networking News |         Page Last Modified: 3/31/2008