Solved

SMTP/POP decode/encode with Delphi3

Posted on 1998-03-24
9
364 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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
 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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