- Product Information
- Discussion (0)
Mail/X Controls

- Name:Mail/X Controls
- License:Demo
- Developer:Mail/X Controls
- Downloads:93
- Rating:2 / 5
- OS:Windows All
- Size:2 MB
- D.M.C.A.
- Download >

Mail/X Controls
Mail/X Controls Description:
These controls help you send and receive email from Internet servers.These components are available as both ActiveX controls and COM objects.
How Do I Send Mail With Mail/X?
The answer to this question really depends on what kind of message you want to send. There are three methods available - SendMail, SendMessage or SendMessages.
SendMail Method
The simplest way to send mail with Mail/X is to use SMTP/X's SendMail method. It is an easy to use one-line method but with limited functionality.
SendMail's IDL declaration is:
HRESULT SendMail(BSTR From, BSTR To, BSTR Subject, BSTR Body, [optional, in] VARIANT * Filename, [optional, in] VARIANT * EncodingType);
Translated to VB:
SendMail (From As String, To As String, Subject As String, Body As String, [Filename], [EncodingType])
It takes only a few parameters - the "From" and "To" addresses, "Subject", and the "Body" of a message. Optionally, a file can be attached. The fact that the Filename parameter is actually a variant is of no importance to you if you use VB. However, some other languages don't convert automatically from string to variant and vice versa.
Use SendMail like this:
Private Sub cmdSendMail_Click()
Dim smtp As New SmtpX
smtp.ConnectionType = SMTPConnection
smtp.Blocking = True
smtp.Host = "mail.host.com"
smtp.Connect
smtp.SendMail "Bob@mabry.com", "Bob.Smith@mabry.com ", "The subject", "And the body", App.Path & "attachme.zip"
smtp.Disconnect
End Sub
Let's take a look at this code. First, I'm using the COM object here. That's the "Dim smtp…" line.
The ConnectionType is set to SMTPConnection - the alternative is ESMTPConnection, and you will usually use it when you talk with an Exchange server. So, if you get error 550 ("Relaying not allowed" or something like that - the exact error message depends on the server), set the ConnectionType to ESMTPConnection, and set the LogonName and LogonPassword also. There is no way to query the server as to which connection type it requires.
Blocking is set to True. When set like this, your application will wait until each command sent to the server (Connect, SendMail and Disconnect in this sample) is completed. SendMail will not get executed until Connect is completed, and Disconnect will wait for SendMail to finish. You can use non-blocking (Blocking = False) also, but the code is a bit more complicated. We'll talk about blocking vs. non-blocking more later.
Connect will try to connect to the server, and return with success or with an error - e.g. if the host doesn't exist or is unreachable, or the logon information is incorrect.
Then we send our mail, and then disconnect.
Note: in the current version of the control, no matter which EncodingType you specify, the attached file will always be encoded to base64.
Mail/X Controls security information
You cannot download any crack or serial number for Mail/X Controls on this page. Every software that you are able to download on our site is legal. There is no crack, serial number, hack or activation key for Mail/X Controls present here. Our collection also doesn't contain any keygens, because keygen programs are being used in illegal ways which we do not support. All software that you can find here is freely downloadable and legal.
Mail/X Controls installation package is prepared to be downloaded from our fast download servers. It is checked for possible viruses and is proven to be 100% clean and safe. Various leading antiviruses have been used to test Mail/X Controls, if it contains any viruses. No infections have been found and downloading Mail/X Controls is completelly problem free because of that reason. Our experts on malware detection tested Mail/X Controls with various spyware and malware detection programs, including fyxm.net custom malware and spyware detection, and absolutelly no malware or spyware was found in Mail/X Controls.
All software that you can find on our servers, including Mail/X Controls, is either freeware, shareware or open-source, some of the software packages are demo, trial or patch versions and if possible (public domain licence), we also host official full versions of software.
Because we want to be one of the fastest download sites on the web, we host all the software including Mail/X Controls on our servers. You cannot find here any torrents or download links that would lead you to dangerous sites.
Fyxm.net does support free software, however we do not support warez or illegal downloads. Warez is harming producers of the software.
Enjoy!
Rate Mail/X Controls!
Similar Programs | License | Size | Rating | |
---|---|---|---|---|
R-Mail Outlook Express Mail Recovery Software | Demo | 684 KB | 2 / 5 | ![]() |
FullScreen Controls | Freeware | 109 KB | 2 / 5 | ![]() |
Unicode Controls for VB6 | Demo | 3.2 MB | 2 / 5 | ![]() |
Enhanced Controls | Trial | 4.3 MB | 2 / 5 | ![]() |
GMail Extract e-mail addresses from G-Mail Account | Shareware | 2 MB | 1 / 5 | ![]() |
Related Categories
Related Programs
- 1
Foobar Controls
Internet apps > Internet Applications Addons > Mozilla Extensions205x - 2
Ajax-Controls.NET
Coding > Components & Libraries198x - 3
PolyMon Controls
Coding > Other Coding Files163x - 4
Common Controls
Internet apps > WEB Design > Web Design related147x - 5
Magnetic controls
Coding > Components & Libraries130x - 6
MyCollection Controls
Coding > Components & Libraries107x - 7
SharpPieces ASP.NET Controls
Coding > Components & Libraries67x - 8
Lumisoft UI Controls
Coding > Components & Libraries66x - 9
TMS W7 Controls Pack
Coding > Components & Libraries18x - 10
.Net Combos Controls
Coding > Components & Libraries13x