This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Can somebody walk me to an API on how to send an email using my exchange server properties. I need to send multiple files to multiple recipients with a body message that does not change, so If i can develop a small app for this, it would be really helpful.
I don't think authentication is the problem. If you check the stack trace you will see this:
That means that the server you're not allowed to send emails to the domain. You need to change the relaying settings of the mail server.
PS: Eduardo, next time also remove the real email addresses from your stack trace I've done that for you.
Rob Spoor wrote:I don't think authentication is the problem.
It might be or it might not be. It's possible the server is configured to let authorized users relay. The only way to find out is to ask the server's administrator, as I already suggested. I can see it's a server within the same LAN from its IP address, and it's a fairly large LAN too, so probably you (Eduardo) are in an environment where running a mail server is a serious business. So you should seriously talk to the server administrator; if you make a mess and get your company's server on a spam black-list, it's much better if you had permission from the administrator before doing that.