Hi all,
First let me confess I am a novice in java.
We have this specific application which continually send mails using, by default it is assumed as port ý25ý .
Now we want to change to some thing else
Following is the code:
ý------------------------------------
Transport transport = session.getTransport("smtp"
;
transport.addConnectionListener(conHandler);
transport.addTransportListener(transHandler);
transport.connect(mailHost,"",""
;
transport.sendMessage(message,message.getAllRecipients());
ý----------------------------------
Can any one please help me on this.
Regards
John Philip
*** Even the Best, did the Bad and Made the Best ***
John Philip
First let me confess I am a novice in java.
We have this specific application which continually send mails using, by default it is assumed as port ý25ý .
Now we want to change to some thing else
Following is the code:
ý------------------------------------
Transport transport = session.getTransport("smtp"
transport.addConnectionListener(conHandler);
transport.addTransportListener(transHandler);
transport.connect(mailHost,"",""
transport.sendMessage(message,message.getAllRecipients());
ý----------------------------------
Can any one please help me on this.
Regards
John Philip
*** Even the Best, did the Bad and Made the Best ***
John Philip