So I’m working on a class (all the students in the class) project (I won’t have control of the server, installation stuff etc.. is there any way of sending an email without knowing about the system the project is going to be deployed? (I’m not going to be involved on that process, so is not like I can run any scripts on the server)
We are working on Java and we have the Spring framework to work with.
Can I use a precompiled jar? (I heard something about that not to sure)
I’ve being trying to get samples using javamail, but I can’t test it on my computer.. I have localhost enabled and running, but it doesn’t work, and I can’t find a tutorial that takes me trough all the steps of setting up the computer and getting the code to work [im on a mac])
Well if you want to test mail functionality using java mail you can use any of the email provider like
gmailetc as they provide SMTP mail faility.make sure you use them only for testing purpose as using bulk mail or sending mails exceeding your quota can disable your account for the time.
Do somethng like
Though i have not tested the code but it should wrok