?
Solved

SMTP/POP decode/encode with Delphi3

Posted on 1998-03-24
9
Medium Priority
?
376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

800 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