Hi I'm trying to find a java solution which will allow me to set up the local host into a a VERY light SMTP server. Essentially, I just need to send a single message from the local host which contains configuration details, and I really don't want to mess around which SMTP authentication and such (Trying to keep this as simple as possible, as its a very insignificant [though essential] part of my program). I've have been looking at a variety of tools and I found Asprin, which is an embeddable SMTP server. However, it provides little documentation, and I was wondering if anyone who has had experience using it could provide some insight on how you can set up the server and send messages.
It seems pretty simple to use, but I am also new to the JavaMail API so tackling both at the same time has proved to be harder than I thought.
The project is located here:
https://aspirin.dev.java.net/ Thanks in advance for any help.
actually I haven't tested it myself. But did you read the point "How do I use it?" on the new Aspirin home page? It sounds really pretty easy to send a simple mail with Aspirin.
And from what I see you don't need to know very much about JavaMail for this. You just have to set the necessary fields in the MimeMessage you can create accordingly to the Aspirin documentation almost like you would do when typing a mail in your favorite mail client (recipient, content, ...) ;-) Give it a try and feel free to let me know where you experience problems!
are you still having problems to send mails as described in the other post?
Joined: Mar 22, 2005
could never use Aspirin
As I pointed out elsewhere, that had nothing to do with aspirin, but is the result of a certain combination of sender address and recipient address. Any other mail server would have encountered the same problem.
But let's not hijack this thread any further by posts that have nothing to do with Lance's problem.
Joined: Nov 12, 2008
Yes, I can never do that on my machine, with my current ISP.
I know that, you told it me before. The problem may be with my ISP. Sorry for attempting to hijack the thread