Hi,
I have created an EJB for sending mail using SMTP protocol. From this EJB i have created a webservice. Also i have created a normal java project also using the same code for sending mails.
When i try to send mails using the Java project it is workinf fine. However when i test the EJB it gives me the following error
Cannot send message to host <HOSTNAME>:<PORT NUMBER> using SMTP protocol.
Can anyone please suggest if there is any setting that i need to make in the webservice or there is some other problem.
While creating webservice i have not done any thing other that just right clicking on the EJB and chossing the menu for creating the weservice and giving essesntial names.
Regards
Sidharth