Solved

SMTP/POP decode/encode with Delphi3

Posted on 1998-03-24
9
362 Views
Last Modified: 2010-04-06
hi there ....
I do use the SMTP and POP3 ActiveX component that borland supply with it's Delphi 3 to create a simple mail Client program,
and i need to know, if these ActiveX component do decode/encode email in Base64,Quoted-Printable and UUENCODE...
if so please tell me how to, and if u give an Example it will be more persuasive to give ALL points.

THNX.



 
0
Comment
Question by:dyancer
  • 5
  • 4
9 Comments
 
LVL 5

Expert Comment

by:ronit051397
ID: 1360827
In order to use advanced mail features you need the TMime component of NetManage,
Do you have it?
0
 
LVL 1

Author Comment

by:dyancer
ID: 1360828
WoooW...
it's great how fast you gave comments :)
i have not the TMime commponent,
if it's free and u could offer it to me then
please email it to niceguy25@geocites.com

thnx.
0
 
LVL 5

Expert Comment

by:ronit051397
ID: 1360829
Before that, What kind of application you intend to build with SMTP and POP3, a Mail Server?
0
 
LVL 1

Author Comment

by:dyancer
ID: 1360830
no, just a mail client.
server mail is a future plans, and it still in paper ONLY.
it already function properly, but it lacks the encode/decode mechanism.

0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 1

Author Comment

by:dyancer
ID: 1360831
no, just a mail client.
server mail is a future plans, and it still in paper ONLY.
it already function properly, but it lacks the encode/decode mechanism.

0
 
LVL 5

Accepted Solution

by:
ronit051397 earned 200 total points
ID: 1360832
I have built a mail server. At first I used the NetManage components, but it made many problems:
1. Many exceptions of many kinds, expecially OLE exceptions.
2. Work very slow.
3. I couldn't make them work Multithreadedly.
4. NetManage no longer supports these components for a long time.

I don't have the TMime anymore, NetMaster is now developing them:
http://www.netmastersllc.com/default.htm

I Think the TMime is included in the Visual Basic patch.

But, I strongly recommand you not to use them. Use VCL's instead. In most of them the MIME and SMTP are united to one component.

Here are few:
1. François Piette - set of internet components, free:
http://www.rtfm.be/fpiette/indexuk.htm

2. TCPIP.ZIP is a set of internet components by Andreas Horstemeier - free:
http://www.backfence.net/delphi/download.htm

3. MIMESTUF.ZIP, contains general info about encoding email - free:
http://www.backfence.net/delphi/download.htm

4. FREENET.ZIP, SMTP and POP3 components - free:
the Delphi Super Page: http://www.ege.edu.tr/delphi/index.htm

5. SMTP and POP3 componets by Argo Software. Very functional and cheap:
http://www.argosoft.com/

6. The SMTP Protocol:
http://ds1.internic.net/std/std10.txt
0
 
LVL 1

Author Comment

by:dyancer
ID: 1360833
ronit.
my first Question still not answered!
again, do the ActiveX component (SMTP/POP) that come with delphi 3 support mail encode/decode, if so how to use them?
**************************************************************
we are an ISRAELi company for word-processing
please email me to niceguy25@geocities.com if u want to talk about a nice offer!
0
 
LVL 5

Expert Comment

by:ronit051397
ID: 1360834
The SMTP ActiveX do support encode/decode mail, but only with conjunction of the TMime component. I'll explain:
With the TSMTP you can only send simple mail messages, that is headers+a text message, but you cannot send any attached binary files of any kind.
The TMime component cannot work by it's own, it works together with the TSMTP in order to enable you send attached files via the encode/decode or mime structure. As far as I remember, the connection between the two is made through the DocInput method.
I looked for the TMime in the VB package and Internet, but couldn't find it. I cannot send you an example because I don't have the TMime. You need to contact NetMaster.

But, as I said before, do expect many problems, working with these ActiveX components.
Some Isrealies work with the Argo Software components (low price) which I think support what you need and much more.

Regards,
Ronit
0
 
LVL 1

Author Comment

by:dyancer
ID: 1360835
Ronit,
I'm trying to build a MAPI Server (more Like Eudora than Exchange), Exchange is a multipurpose messaging server (that enable Fax/LAN/email sending/recieving/storing ) whilst Eudora
enable email operations only)....
in my last Question about smtp/pop decode/encode you have mentioned that you already wrote a mapi server program, how did u do that! is it written with delphi?

thnx.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now