SMTP Component - FAQ
I hate this person, so I'm going to let him know everything I think about him. I'm going to use your SMTP Component but will supply fake address and reply-to header
Nope. Can't do that. Carefully read license agreement, specifically the part about hate mail and forging headers
I received a shipment of cheap viagra and friend provided me with great list of email addresses. I mean, millions of them! I'm so excited I want to notify everyone on this list, using your SMTP Component!
This is called spamming and you simply can't do that. At least not with OstroSoft SMTP Component. It violates license agreement.
May I re-sell SMTP Component?
Not without our permission
May I write and re-sell Sharepoint (Powerbuilder, MS Access, etc.) wrapper for SMTP Component?
You may certainly write, but not re-sell it, since it does not provide additional functionality. Read License Agreement for more.
Those guys closed my free mailbox, so I have revenge planned - I will bombard their mailserver with millions of emails, using your SMTP Component.
This is denial-of-service attack. It's illegal and it's against license agreement. Can't use OstroSoft SMTP Component for that.
How do I get rid of X-Warning header?
Buy a commercial license of SMTP Component.
Is X-Warning header going to trigger anti-spam filters?
No, it was carefully worded not to trigger anti-spam filters.
What are built-in X-Headers?
Each generated message, generated by OstroSoft SMTP Component, contains X-Mailer header with application name and license type (for example: X-Mailer: OstroSoft SMTP Component (Non-commercial license)
Non-commercial license of OstroSoft SMTP Component also inserts X-Warning header, stating the following:
"X-Warning: Using of this component for unlawful activities is STRICTLY PROHIBITED. Full text of license agreement, governing the usage of this component, is available at http://www.ostrosoft.com/smtp_license.txt"
Why is X-Warning header necessary? Why isn't it present in commercial version?
We felt that simply downloading the component does not warrant accepting its license agreement. X-Warning header reinforces the acceptable usage of SMTP Component and (somewhat) protects us in cases it is violated
Header is not present in commercial versions because you agree to acceptable use by buying the component.
Component can't establish session with SMTP server I've specified.
1. Make sure SMTP Component has access to network. Check your firewall, anti-virus (or any other application, restricting access to network or Internet) settings.
2. Check connection properties (server name and port).
3. Check authentication properties - username, password. Most mailservers require authentication before accepting messages for delivery. On top of it some mailservers (namely, GMail and Yahoo Mail) require secure sessiion - TLS/SSL.
How do I integrate SMTP Component with MS Exchange?
You can only use SMTP Component to send emails. To get an access to other features of Exchange you need to use MS MAPI controls and/or Exchange object library.
How do I send email to multiple recipients?
Use comma-separated list:
SMTP1.SendTo = "email@example.com, firstname.lastname@example.org, email@example.com"
SMTP1.SendTo = "<firstname.lastname@example.org>, <email@example.com>, <firstname.lastname@example.org>"
SMTP1.SendTo = """Sales Department"" <email@example.com>, ""Administrator"" <firstname.lastname@example.org>, ""Helpdesk"" <email@example.com>"
How do I send emails with attachments?
Use Attachments collection
How do I send multi-line messages?
Separate each line of text with <CR><LF> (carriage return/line feed) sequence:
VB style: OSSMTP.MessageText = "This is " & vbCrLf & "a multi-line" & vbCrLf & "message"
C style: OSSMTP.MessageText = "This is\r\na multi-line\r\nmessage";
What's the correct format for Timestamp property?
dd mmm yyyy hh:nn:ss +0000
Where yyyy is 4-digit year, mm - 2-digit month, dd - 2-digit day of month, hh - 2-digit hour, nn - 2-digit minutes, ss - 2-digit, +0000 - time correction between your local time and GMT in +/-hhmm format.
Example: 11 Feb 2005 16:03:05 -0500
When I ran setup I got 'OSSMTP_Setup.msi is not a valid Win32 application' message
Most likely you have incomplete download. For example, download in web browsers sometimes stops without any notification (due to time-outs or network problems). This file should be about 600 KB. If the installation package is smaller - try to re-download it
When I try to add SMTP Component to my project references, I keep getting a message saying something about name conflicting with existing library.
Most likely you already have a reference to a different library with the same name or older version of SMTP Component. The easiest way to resolve naming conflict would be Registry cleanup: make a search on 'ossmtp' value, delete all keys found, re-install SMTP Component
Where can I get more information about SMTP?
Read SMTP RFC
Installation and distributing
Do I have to download and run entire installation package for SMTP Component or it's just enough to copy OSSMTP_Plus.dll?
You don't have to run installation, though it's strongly recommended
Do I need to register OSSMTP_Plus.dll on target machine?
No, OSSMTP_Plus.dll is .NET assembly, not a COM library. Just make sure to put it in location where your application can easily detect it. For example, application installation folder
However, if you are planning to call SMTP Component from COM languages, you do need to register OSSMTP_Plus.tlb
Does new SMTP Component support ActiveX?
Does new SMTP Component support COM?
Yes. Installation package for SMTP Component 7 and later contains typelibrary, providing COM interface to all its objects, methods, properties, events and collections (OSSMTP_Plus.tlb)
Does SMTP Component have any external dependencies?
SMTP Component requires .NET 2.0 or later
How do I distribute SMTP Component with my application?
Include OSSMTP_Plus.dll in your installation package. Since SMTP Component is not a global assembly, put it in location where your application can easily find it. For example, root application directory on target machine.
How do I use SMTP Component with old Visual Basic?
From project menu open "References" dialog box. If you have OSSMTP_Plus.tlb properly registered on your machine, you will see an entry for "OstroSoft SMTP Component". Check it and click OK to close dialog box. From this point you should be able to use early binding and look up component properties and methods in Object Browser.
Same applies to VBA projects
I have SMTP Component installed on my machine, but does not see it in the list of available assemblies in Visual Studio.NET
OstroSoft SMTP Component is not a global assembly. Use "Browse" tab of "Add Reference" dialog box to locate and select OSSMTP_Plus.dll
What's inside the installation package for SMTP Component?
OSSMTP_Plus.dll, OSSMTP_Plus.tlb (self-registering), help file, list of most common component errors, License Agreement and sample projects, covering most popular languages and technologies for Windows
Why does new SMTP Component file is called OSSMTP_Plus, not OSSMTP?
To avoid a confusion on computers, having both older and newer versions of SMTP Component installed
Are there functional differences between non-commercial and commercial licenses of SMTP Component?
No, functionally all SMTP Component licenses are identical. With the only exception of X-Warning header, which is present in non-commercial version only.
I don't have a credit card, may I send a check to your mailing address?
You really shouldn't. Our resellers accept every imaginable method of payment: credit card, checks, wire transfers,Paypal, etc.
I have a commercial license for the previous version of SMTP Component. Do I need to buy one for the new version?
Yes, if you bought your license more than 90 days before the release of new version (before September 15, 2008).
Otherwise please contact us to obtain new license key.
Minor releases are free within the same version.
We are a non-profit organization (charity, education institution), can you provide us with free copy of commercially-licensed SMTP Component?
If you are a non-profit organization, you should not have problems sending (and your recipients receiving) emails, containing words "non-commercial license" in X-Mailer header. If it does bother you, consider buying a license - they are inexpensive.
What commercial licenses are available?
Developer license. For a single programmer to develop and distribute a single commercial application
Server license. For use in a commercial application, installed on a single server
Enterprise license. For programmers within a company to develop and distribute an unlimited number of commercial applications
What does "non-commercial" mean?
It means that software, using SMTP Component, is freeware, open-source, non-profit or educational project, or used for internal communications or notifications. In other words, it does not generate revenue, directly or indirectly.
What's the difference between SMTP Component and OSSMTP?
None. OSSMTP is a file name for OstroSoft SMTP Component.