Re: POP3 client on the AS/400
John Ross <[email protected]> Thu, 09 Jan 2003 18:30:46 -0500
| Newsgroups | gmane.comp.systems.as400.open-source |
|---|---|
| Message-ID | <[email protected]> |
Just for your information mail is stored for me in /QTCPTMM/MAIL/JROSS But there is no way I would tie it into the mail server. And this one does not do that. It uses sockets. Unless someone really needs a POP3 client for green screens and does not want to buy one I would not spend a lot of time on one. I was looking at it just to show me if I got a new email and it would show you a few other things. I was trying to get it to ignore attachments. I have no reason to see attachments on the AS/400. This one left the emails on the server and it started from the beginning of the messages every time. Leaving the mail on the server is fine for me also since I use IMAP. I really was not thinking of anything for this. I just wanted to look at it and thought if it was not to much work I might use it. But it became to much work for what I was going to get out of it. I have access to PC's and will use them for email. I just put it out there in case someone really wanted one and to work on it. Or for people like me who like to look at others code especial in areas I do not know a lot about. I was putting the body of the email in a physical file and using query to read the email. Ran across HTML email and attachments and said this is not worth it for me. But if someone wanted to use it to read the Midrange.com mailing list and did not have a PC it would be ok John Ross At 02:41 PM 1/9/2003 -0600, you wrote: >I think before doing that, a basic design needs to be established. > >Personally, I think the best way to do POP3 is to feed the output to a >SMTP server for local delivery. I think that's one of the things they >learned the hard way when they wrote fetchmail. (Fetchmail is the >most popular POP3 program for Unix/Linux) > >That way, you could use the POP3 software in conjunction with the normal >OS/400 SMTP server as well as any existing OS/400 mail software. It also >keeps with the paradigm of keeping the mail transport agent (MTA) seperate >from the mail user agent (MUA) that's been discussed so many times in >e-mail philosophy. > >The hard part is parsing the MIME content and displaying it on the screen, >IMHO. The network code is the easy part. I also have no idea how >OS/400 stores the mail on the system, or how it should be accessed. > >Or were you thinking to use POP3 as a method of accessing it? Usually, >though, POP3 is used to transport it... _______________________________________________ This is the Open Source Software for the AS400/iSeries (OSS400) mailing list To post a message email: OSS400-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/oss400 or email: OSS400-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/oss400.