Hi all,

Am working on a project in which i had to send mails to a list of email ids from a database. But the mail server is running a firewall and blocking any attempt to connect to it using port 25(exchange server), and am not able to connect using java mail api.

As i had configured the outlook to send mails to exchange, is there any way to create an outlook message object and send mails using outlook (in java). i can be able to find some code snippets using .net, but not in java.

can anybody provide me a link or a code snippet

Thanks in advance