Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
georgpotthast

Homepage

Germany,
16.08.2013, 08:20
 

FlMail graphical email client released (Announce)

I developed a new graphical email client program for DOS. You can download it here:
FlMail download


It features SSL/TLS for SMTP and POP and works with Gmail, Yahoo, Outlook/Hotmail, AOL and more email servers.

It displays emails in text and simple HTML, supports multiple email accounts and features an addressbook.

Here are a few screenshots of FlMail:
FlMail Screenshots

There is a user guide included which explains how to use the software.

Georg

RayeR

Homepage

CZ,
16.08.2013, 14:00

@ georgpotthast
 

FlMail graphical email client released

Can it save/export emails to disk? Or in what form are they stored on disk when DL from pop3?

---
DOS gives me freedom to unlimited HW access.

georgpotthast

Homepage

Germany,
16.08.2013, 17:37

@ RayeR
 

FlMail graphical email client released

For each mail account there is a separate directory. In there the emails are saved separately in HTML form, although the files have no ?.htm? ending. But if you add ?.htm? to the file you can open them in Dillo or Firefox. The file name (which is a hex number) of the selected email is displayed in the list in the last column.

There is an index.txt file in each directory that lists all emails and their file names. The emails retrieved in the latest download are also saved in a special mbox file format in a file called ?popmail.out? in this directory.

If you check the "keep" button (that's the default) downloaded emails are not erased on the email server.


> Can it save/export emails to disk? Or in what form are they stored on disk
> when DL from pop3?

Rugxulo

Homepage

Usono,
17.08.2013, 10:20

@ georgpotthast
 

FlMail graphical email client released

Georg, I'm honestly not sure I have the energy these days to mess with it, but this looks awesome, so excellent job (as always)! :-)

georgpotthast

Homepage

Germany,
17.08.2013, 18:47

@ Rugxulo
 

FlMail graphical email client released

Hi Rugxulo,

thank you very much for your post. It should not be a lot of mess:-) , just enter the user/id password for your email provider and check the settings examples at the end of the user guide for your provider.

Then you can send and receive emails. But do not use the LANG environment variable again! I forgot to test for that.

E.g. the screenshot does not show that you can move the columns in the email list at the top of the screen just like you do in Windows.

Georg

> Georg, I'm honestly not sure I have the energy these days to mess with it,
> but this looks awesome, so excellent job (as always)! :-)

RayeR

Homepage

CZ,
17.08.2013, 23:50

@ georgpotthast
 

FlMail graphical email client released

I had a quick look on flmail a minute ago, some notes:
* I was little bit confused when setting up my email account and deleting predefined - it need's to be restarted to accept every small change - less interactive
* I was able to download new mail from pop3.seznam.cz
* I cannot send mail via smtp.seznam.cz - it freze for quite long time and then just display sending failed. I belive my settings is OK. I also tried enable SSL and TLS - same. When I tried to use smtp.gmail.com it responsed quickly in black bar on the top of screen that I don't have account on gmail so it failed. I can't remember any anonymous smtp that I could try. But I belive it works with other smtps...
* It creates anoying /etc in rootdir, I patched path in binary and seems it has no more created (theres still etc in XD640CFG).
* Immediate exit by ESC key without asking seems to me little bit disturbing.

> For each mail account there is a separate directory. In there the emails
> are saved separately in HTML form, although the files have no ?.htm?

Well it's OK

---
DOS gives me freedom to unlimited HW access.

georgpotthast

Homepage

Germany,
18.08.2013, 01:06

@ RayeR
 

FlMail graphical email client released

> I had a quick look on flmail a minute ago, some notes:
> * I was little bit confused when setting up my email account and deleting
> predefined - it need's to be restarted to accept every small change - less
> interactive

Yes, but it is difficult to implement that differently in the existing code. The configuration file is read at program start and many modules assume these do not change. Also I think once you have your settings done, you do not need to change them again.

> * I was able to download new mail from pop3.seznam.cz
> * I cannot send mail via smtp.seznam.cz - it freze for quite long time and
> then just display sending failed. I belive my settings is OK.

You can use redir from djgpp to trap the black lines (stderr error messages) to a file. You can also use the -d command line switch to get an extensive flmail.log file. I assume there is something wrong with the settings.

I also tried
> enable SSL and TLS - same.

I did not find an email server which allowed smtp without SSL/TLS.

When I tried to use smtp.gmail.com it responsed
> quickly in black bar on the top of screen that I don't have account on
> gmail so it failed. I can't remember any anonymous smtp that I could try.
> But I belive it works with other smtps...

Nowdays anonymous smtp is very rare as far as I know. The email providers do not want to be used for spamming.

> * It creates anoying /etc in rootdir, I patched path in binary and seems it
> has no more created (theres still etc in XD640CFG).

Yes there are more directories created than needed. I did not change the directories yet since they are used at many places in the code and I may forget testing one of those. But this is due to change.

> * Immediate exit by ESC key without asking seems to me little bit
> disturbing.
> > For each mail account there is a separate directory. In there the emails
> > are saved separately in HTML form, although the files have no ?.htm?
>
> Well it's OK

RayeR

Homepage

CZ,
18.08.2013, 17:15

@ georgpotthast
 

FlMail graphical email client released

> You can use redir from djgpp to trap the black lines (stderr error
> messages) to a file. You can also use the -d command line switch to get an
> extensive flmail.log file. I assume there is something wrong with the
> settings.

I found my SPTM use different port 465 so I changed it but still cannot send.
I used flmail.exe -d but nothing usefull in the log:

FLMAIL.LOG
Using NO ssl with smtp
Connecting to smtp.seznam.cz:465
Configuring through DHCP..

MAILBODY.TXT
pokus

MAILCMD.DAT
-v
-smtp
smtp.seznam.cz
-f
rayer@************
-name
"Seznam"
-t
rayer@**********
-cc

-port
465
-auth-login
-user
*****
-pass
*****
-sub
pokus
-m
mailbody.txt,text/plain

(I replaced some privat data by *, BTW would be better to save passwords for accouns in some non-readable format)

---
DOS gives me freedom to unlimited HW access.

georgpotthast

Homepage

Germany,
18.08.2013, 19:31

@ RayeR
 

FlMail graphical email client released

The port 465 is supposed to be used if you want to make a SSL connection. The first line in the log file says that there is NO SSL. So you did not set the SSL button in the settings window to yellow.

But on port 465 you should not need TLS but you can try. Then both buttons have to be set to yellow.

Please compare the Yahoo setting example at the end of the user guide. This works with SSL only via port 465.

I guess I have to mention in the user guide that a click on these buttons turns them to yellow and this checks them so a yellow SSL button means the SSL protocol will be used. If there is no yellow color in the button it is not checked and no SSL will be used.

Georg

> > You can use redir from djgpp to trap the black lines (stderr error
> > messages) to a file. You can also use the -d command line switch to get
> an
> > extensive flmail.log file. I assume there is something wrong with the
> > settings.
>
> I found my SPTM use different port 465 so I changed it but still cannot
> send.
> I used flmail.exe -d but nothing usefull in the log:
>
> FLMAIL.LOG
> Using NO ssl with smtp
> Connecting to smtp.seznam.cz:465
> Configuring through DHCP..
>
> MAILBODY.TXT
> pokus
>
> MAILCMD.DAT
> -v
> -smtp
> smtp.seznam.cz
> -f
> rayer@************
> -name
> "Seznam"
> -t
> rayer@**********
> -cc
>
> -port
> 465
> -auth-login
> -user
> *****
> -pass
> *****
> -sub
> pokus
> -m
> mailbody.txt,text/plain
>
> (I replaced some privat data by *, BTW would be better to save passwords
> for accouns in some non-readable format)

RayeR

Homepage

CZ,
18.08.2013, 20:02
(edited by RayeR, 18.08.2013, 20:29)

@ georgpotthast
 

FlMail graphical email client released

> The port 465 is supposed to be used if you want to make a SSL connection.
> The first line in the log file says that there is NO SSL. So you did not
> set the SSL button in the settings window to yellow.
>
> But on port 465 you should not need TLS but you can try. Then both buttons
> have to be set to yellow.

I tried with SSL button but got another error:
550 5.7.1 Not authenticated, please use AUTH first
Seznam.cz mentioned this error here:
http://translate.google.com/translate?sl=auto&...nticated-please-use-auth-first.html&act=url
I don't know what else auth they mean, I already had user and password filled there...
Using new version I was able to setup different SMTP so I configured gmail smtp with TLS and SSL and it works but there are still some issues. When I compose new mail it sends ok but when I try forward or reply some received mail it will not send with authentication error.

Also found that sometimes after send mail when I click get mail and error appear:
dbug_init() called after sock_init()
I have to restart program then get mail works again.

And one bug when setting accounts. I cannot change Host name in existing account - it's not saved and after restart I have old value there. So I edit config file. And when I remove all sever settings to have clean setup (also if delete FLMAIL.CFG) for making new setting it will crash:

General Protection Fault at eip=00015692                               17:40:00
eax=6c463331 ebx=00cf6988 ecx=00000028 edx=00000000 esi=00000000 edi=00000019 
ebp=0057c348 esp=0057c330 program=H:\FLMAIL\bin\FLMAIL.EXE                     
cs: sel=00a7  base=00400000  limit=00dcffff                                   
ds: sel=00af  base=00400000  limit=00dcffff                                   
es: sel=00af  base=00400000  limit=00dcffff                                   
fs: sel=00bf  base=00000000  limit=0010ffff                                   
gs: sel=00bf  base=00000000  limit=0010ffff                                   
ss: sel=00af  base=00400000  limit=00dcffff                                   
App stack: [0057c8c8..004fc8cc]  Exceptn stack: [004fba68..004f9b28]           
                                                                             
Call frame traceback EIPs:
0x00015692
0x0046e847
0x0000475c
0x00003323
0x000026d3
0x000021c4
0x0044660f

---
DOS gives me freedom to unlimited HW access.

georgpotthast

Homepage

Germany,
18.08.2013, 20:29

@ RayeR
 

FlMail graphical email client released

I never tried to change a host name yet. I have to trap that and stop people trying that. FlMail will not reuse an email directory to avoid erasing emails in there.
I always change the host name of an existing entry and then enter "New Save". This will generate a new host entry with a new directory according to the name of the mailbox with this server. After that you can erase the host entry you no longer need.
The programmer often uses a program in a way that avoids errors without himself thinking about that.

I will test the other issues you report but I will be travelling for two weeks now so I can only do that after returning.

Georg


> > The port 465 is supposed to be used if you want to make a SSL
> connection.
> > The first line in the log file says that there is NO SSL. So you did not
> > set the SSL button in the settings window to yellow.
> >
> > But on port 465 you should not need TLS but you can try. Then both
> buttons
> > have to be set to yellow.
>
> I already tried all possible combinations of TLS/SSL for SMTP...
> Using new version I was able to setup different SMTP so I configured gmail
> smtp with TLS and SSL and it works but there are still some issues. When I
> compose new mail it sends ok but when I try forward or reply some received
> mail it will not send with authentication error.
>
> Also found that sometimes after send mail when I click get mail and error
> appear:
> dbug_init() called after sock_init()
> I have to restart program then get mail works again.
>
> And one bug when setting accounts. I cannot change Host name in existing
> account - it's not saved and after restart I have old value there. So I
> edit config file. And when I remove all sever settings to have clean setup
> (also if delete FLMAIL.CFG) for making new setting it will crash:
>
> General Protection Fault at eip=00015692                               17:40:00
> eax=6c463331 ebx=00cf6988 ecx=00000028 edx=00000000 esi=00000000
> edi=00000019 
> ebp=0057c348 esp=0057c330 program=H:\FLMAIL\bin\FLMAIL.EXE                 
> cs: sel=00a7  base=00400000  limit=00dcffff                                   
> ds: sel=00af  base=00400000  limit=00dcffff                                   
> es: sel=00af  base=00400000  limit=00dcffff                                   
> fs: sel=00bf  base=00000000  limit=0010ffff                                   
> gs: sel=00bf  base=00000000  limit=0010ffff                                   
> ss: sel=00af  base=00400000  limit=00dcffff                                   
> App stack: [0057c8c8..004fc8cc]  Exceptn stack: [004fba68..004f9b28]         
>
>
> Call frame traceback EIPs:
> 0x00015692
> 0x0046e847
> 0x0000475c
> 0x00003323
> 0x000026d3
> 0x000021c4
> 0x0044660f
>

RayeR

Homepage

CZ,
18.08.2013, 20:35

@ georgpotthast
 

FlMail graphical email client released

> I never tried to change a host name yet. I have to trap that and stop
> people trying that. FlMail will not reuse an email directory to avoid
> erasing emails in there.

OK I just wanted to create my account from a scratch not having your sample mails there.

You're fast, I just edited my previous reply with some note on seznam SMTP:

I tried with SSL button but got another error:
550 5.7.1 Not authenticated, please use AUTH first
Seznam.cz mentioned this error here:
http://translate.google.com/translate?sl=auto&...nticated-please-use-auth-first.html&act=url
I don't know what else auth they mean, I already had user and password filled there...

> I will test the other issues you report but I will be travelling for two
> weeks now so I can only do that after returning.

Sure, enjoy your vacation :)

---
DOS gives me freedom to unlimited HW access.

georgpotthast

Homepage

Germany,
18.08.2013, 21:00

@ RayeR
 

FlMail graphical email client released

The translation to German of the error message is somewhat unclear to me.

Two things I can make out:
- you used port 25 - this can be OK but usually this is the port for NON-SSL. Port 465 should be better, or use 587 which usually works ok. But e.g. Outlook.com uses TLS on port 25.
- you may have entered your email address into the User-ID field and the server requires a different ID than the email address to authenticate at the server.

I always use my email address as a User-ID (as you can see from the examples) but you may have selected a different User-ID when registering with your email provider. Enter your email address in the General TAB and your User-ID for SMTP in the Server TAB. Gmail, Outlook etc always use the email address as a user-id but many servers allow you to select a different User-ID. You may want to check your other email program what User-ID is entered for SMTP there.

Georg

> > I never tried to change a host name yet. I have to trap that and stop
> > people trying that. FlMail will not reuse an email directory to avoid
> > erasing emails in there.
>
> OK I just wanted to create my account from a scratch not having your sample
> mails there.
>
> You're fast, I just edited my previous reply with some note on seznam
> SMTP:
>
> I tried with SSL button but got another error:
> 550 5.7.1 Not authenticated, please use AUTH first
> Seznam.cz mentioned this error here:
> http://translate.google.com/translate?sl=auto&...nticated-please-use-auth-first.html&act=url
> I don't know what else auth they mean, I already had user and password
> filled there...
>
> > I will test the other issues you report but I will be travelling for two
> > weeks now so I can only do that after returning.
>
> Sure, enjoy your vacation :)

RayeR

Homepage

CZ,
18.08.2013, 21:56

@ georgpotthast
 

FlMail graphical email client released

I have smtp user different from email adress that I have already set. I aslo tried port 25 and 587. Here's my setting in Mozilla/Seamonkey
http://rayer.g6.cz/1tmp/mozillamail.png
So I was trying to set it similar in flmail but doesn't work.

That help message from Seznam only says that if you got this error you have to click checkbox "server requires authentication" in your mail client...

---
DOS gives me freedom to unlimited HW access.

georgpotthast

Homepage

Germany,
18.08.2013, 22:35

@ RayeR
 

FlMail graphical email client released

If it says "server requires authentication" this means that the Authentication phase was unsuccessful. I would try TLS in this case.

Here are the settings that I think should work:
[image]

Georg

> I have smtp user different from email adress that I have already set. I
> aslo tried port 25 and 587. Here's my setting in Mozilla/Seamonkey
> http://rayer.g6.cz/1tmp/mozillamail.png
> So I was trying to set it similar in flmail but doesn't work.
>
> That help message from Seznam only says that if you got this error you have
> to click checkbox "server requires authentication" in your mail client...

RayeR

Homepage

CZ,
18.08.2013, 23:14

@ georgpotthast
 

FlMail graphical email client released

> If it says "server requires authentication" this means that the
> Authentication phase was unsuccessful. I would try TLS in this case.
>
> Here are the settings that I think should work:

Yes, think this should work but doesn't. It freeze for 1 minute timeout and any error in top black line is displayed.

FLMAIL.LOG
Using ssl with smtp
Connecting to smtp.seznam.cz:465
Configuring through DHCP..

MAILCMD.DAT
-v
-smtp
smtp.seznam.cz
-f
rayer@***
-t
rayer@***
-cc

-starttls
-port
465
-auth-login
-user
rayer
-pass
***
-sub
blem
-m
mailbody.txt,text/plain

---
DOS gives me freedom to unlimited HW access.

georgpotthast

Homepage

Germany,
18.08.2013, 23:43

@ RayeR
 

FlMail graphical email client released

I see that it stops trying to get an IP address via DHCP. I only observed this in a Windows XP DOS box. You have to use a fixed IP address there, maybe the same as Windows XP (ipconfig). I am connected through a router which accepts just about any fixed address. If you cannot get an TCP/IP connection to the email server it does not make any difference what you set in the settings window. Sorry that I did not see that before.:-(

The dhcp problem is documented in the user guide.

Georg


> > If it says "server requires authentication" this means that the
> > Authentication phase was unsuccessful. I would try TLS in this case.
> >
> > Here are the settings that I think should work:
>
> Yes, think this should work but doesn't. It freeze for 1 minute timeout and
> any error in top black line is displayed.
>
> FLMAIL.LOG
> Using ssl with smtp
> Connecting to smtp.seznam.cz:465
> Configuring through DHCP..
>
> MAILCMD.DAT
> -v
> -smtp
> smtp.seznam.cz
> -f
> rayer@***
> -t
> rayer@***
> -cc
>
> -starttls
> -port
> 465
> -auth-login
> -user
> rayer
> -pass
> ***
> -sub
> blem
> -m
> mailbody.txt,text/plain

RayeR

Homepage

CZ,
19.08.2013, 18:53

@ georgpotthast
 

FlMail graphical email client released

> I see that it stops trying to get an IP address via DHCP. I only observed
> this in a Windows XP DOS box. You have to use a fixed IP address there,
> maybe the same as Windows XP (ipconfig). I am connected through a router
> which accepts just about any fixed address. If you cannot get an TCP/IP
> connection to the email server it does not make any difference what you set
> in the settings window. Sorry that I did not see that before.:-(

Hm but why it has DHCP problem only with seznam smtp and not with gmail smtp?

---
DOS gives me freedom to unlimited HW access.

georgpotthast

Homepage

Germany,
02.09.2013, 20:23

@ RayeR
 

FlMail graphical email client released

> > I see that it stops trying to get an IP address via DHCP. I only
> observed
> > this in a Windows XP DOS box. You have to use a fixed IP address there,
> > maybe the same as Windows XP (ipconfig). I am connected through a router
> > which accepts just about any fixed address. If you cannot get an TCP/IP
> > connection to the email server it does not make any difference what you
> set
> > in the settings window. Sorry that I did not see that before.:-(
>
> Hm but why it has DHCP problem only with seznam smtp and not with gmail
> smtp?

I tested it again and on my Windows XP PC it never works if DHCP is selected.

If Windows has used DHCP to get an IP address and constantly generates IP traffic (in my case due to drives mapped to a server) my router does not respond to a new DHCP request issued by a program in a DOS box - which would stop Windows working if a different IP address is returned by the router.

I read the IP address used by Windows by using ipconfig in the DOS box and set this as a fixed IP address in WATTCP.CFG. This did work for me.

Georg

Laaca

Homepage

Czech republic,
17.08.2013, 22:26

@ georgpotthast
 

FlMail graphical email client released

Beautiful. Excelent work.
I can read the incoming mails however I have a problem with sending mails.
I have quite unusual SMTP setting (due my local provider). My SMTP server is different than POP3 server and uses even another username/password authentication.
I made a screenshots from my Outlook express setting. Could you please enable such settings in FlMail?
http://www.laaca.borec.cz/mailcfg1.png
http://www.laaca.borec.cz/mailcfg2.png
http://www.laaca.borec.cz/mailcfg3.png

---
DOS-u-akbar!

RayeR

Homepage

CZ,
17.08.2013, 23:52

@ Laaca
 

FlMail graphical email client released

> Beautiful. Excelent work.
> I can read the incoming mails however I have a problem with sending mails.
> I have quite unusual SMTP setting (due my local provider). My SMTP server
> is different than POP3 server and uses even another username/password
> authentication.
> I made a screenshots from my Outlook express setting. Could you please
> enable such settings in FlMail?
> http://www.laaca.borec.cz/mailcfg1.png
> http://www.laaca.borec.cz/mailcfg2.png
> http://www.laaca.borec.cz/mailcfg3.png

It would be nice to have SMPT(s) configuration independent on POP(s) and then just choose which account use what SMTP config from the set.

---
DOS gives me freedom to unlimited HW access.

georgpotthast

Homepage

Germany,
18.08.2013, 00:50

@ Laaca
 

FlMail graphical email client released

Glad that you like the program!

Currently I assume the same password for POP and SMTP. As I can see on the screenshots that can be different. So I will add a second password field.

Regards

Georg


> Beautiful. Excelent work.
> I can read the incoming mails however I have a problem with sending mails.
> I have quite unusual SMTP setting (due my local provider). My SMTP server
> is different than POP3 server and uses even another username/password
> authentication.
> I made a screenshots from my Outlook express setting. Could you please
> enable such settings in FlMail?
> http://www.laaca.borec.cz/mailcfg1.png
> http://www.laaca.borec.cz/mailcfg2.png
> http://www.laaca.borec.cz/mailcfg3.png

georgpotthast

Homepage

Germany,
18.08.2013, 15:26

@ georgpotthast
 

Updated version released

Following the discussion in this thread I made an updated version. You can download it here: FlMail 0.91

This version has the following new features:

- there are separate password input fields for POP and SMTP (Laaca)
- save received emails to an HTML file using the menu (RayeR)
- allows to add several attachments when sending an email now
- can print the text of received emails to a postscript file.
- updated user guide included

Georg

Back to index page
Thread view  Board view
22632 Postings in 2109 Threads, 402 registered users, 442 users online (0 registered, 442 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum