Your job is to implement a SMTP client in Java, which just sends a E-Mail with a attachment to a specific e-mailaddress.
Your application has to be a a command line app, with following parameters java -jar <yourjarfile> -h [login to view URL] -f INBOX/test/anyfolder -u youremail -p apassword -m -t 600
-h for ip or hostname of IMAP server
-o for the port of the IMAP server
-f for IMAP folder path
-u for IMAP username
-p for IMAP password
-m is optional and if it is set it will trigger a bandwidth measuring (see below)
-s "a subject of a e-mail"
--to to field in the mail
--from from field in the mail
-t for a timeout of the whole e-mailprocessing, if this value is exceeded the e-mailprocessing will be terminated
The output of the command (without parameter -m) will be: "<emailtopic>" sent in 14.53 seconds 1073741824 bytes and averaged 563.7990341186523 MBit/s
Please use a temporary folder to serialize the received e-mail into it. Cleanup (delete) this folder before ending the application. if parameter "-m" is defined the needed output in the console will be:
date; current bandwidth (MBit/s); average bandwidth (MBit/s); bytes; interval (ms); 2016-04-09 16:28:41.863;0.00;0.00;32307106;1001;
2016-04-09 16:28:42.870;432.94;432.94;69451628;1007;
2016-04-09 16:28:43.871;547.12;490.00;77502293;1001;
2016-04-09 16:28:44.872;584.83;521.60;76715784;1001;
2016-04-09 16:28:45.873;552.30;529.27;73690858;1001;
2016-04-09 16:28:46.874;597.89;543.03;78818585;1001;
2016-04-09 16:28:47.875;597.49;552.11;77694565;1001;
2016-04-09 16:28:48.876;586.61;557.03;77490856;1001;
date: the current date incl. milliseconds
current bandwidth: the bandwidth between the previous measuring to "now"
average bandwidth: the average bandwidth from starting to "now"
bytes: the bytes transmitted from previous measuring to "now"
interval: the time from the previous measuring to "now"
For the tests, please create two new accounts, which you share with us: - gmail - and any other by your choice Please note also, we search for someone who will be able to create more such tools. E.g. for POP3 measuring. Also we want to extend all protocols to support more options like TLS and SSL handling in later phases.
Please note, we are also developers and search for external support. So please offer only if you know what to do here, since we have already a estimation based on similar projects. If you have any further questions, please let us know.
Please ensure to create a big e-mail (at least 20MB of size) for your tests to have some long running samples
Hello Sir/Mam
NovaSofts Inc. is the leading IT Company of Islamabad Pakistan. We have 9+ years of experience and strong knowledge about programming languages
Java
C++
C
C#
Android
So you don't worry about third party client. We are very experienced and assure you that we’ll provide quality work. The project bid is negotiable and P.M for sample work. Thanks