Another member of the forum suggested that I look at SubEthaSMTP and it looks like it will fit the bill (thanks Mike).
I downloaded the code, built the example from the WIKI (below), added the required jars to my path in Eclipse, added some print statements to display the sender and recipient’s email addresses, and started it up. And I also surrounded the for loop with a while loop to keep it looping indefinitely otherwise it simply falls through and stops. It should according to the explanation on the Wiki page, be listening on port 2500, but when I try to connect everything just times out as if it’s not even listening (if it makes any difference, my
Java development is a Mac running Mavericks).
This code is exactly like what's shown in the wiki other than I added the infinite while loop:
Anybody have any ideas because right now I can't even get to first base.
Thanks,
Rob Tanner
Linfield College