Menu

#1 Cross platform (Linux)...

open
nobody
None
5
2001-08-07
2001-08-07
Anonymous
No

I came across these 2 problems when trying to get it
to work for linux...

1) directories, Windows uses '\' and unix based
systems use '/'. The problem is that files get
misplaced, they are given strange file names and then
later it can not find the files. I simply replaced
them, but a more cross platform solution is to replace
them with File.separator (as a String) or
File.separatorChar (as a char).

2) println() doesnt work properly for some reason
under linux (it looks like after its sent a bunch of
spaces are sent, I had to use telnet to see this
strangeness firsthand which prevented termination for
a message), so I had to use print() with "\r\n" at the
end. Example of this weirdness (hopefully it will
work)...

+OK POP3 server ready
+OK now for password

So anyway after solving those, it worked under linux.
Although some email servers were unable to communicate
with it, such as the one at Yahoos mailing lists, this
may have been some of the cross platform issues above,
or it may be something else to do with smtp standards.

Anyway great program, I'll have to eventually figure
out how to completely set it up for Linux...

Discussion


Log in to post a comment.