Hi
I can send mails with gmail with javamail
But i cannot set the reply to anyhow...
the code i m using is...
//the actual mail id [email protected]
ccAddress = new InternetAddress( "[email protected]");
msg.setFrom(ccAddress);
Address[] addresses = new Address[1];
//actually i want to addressee to reply-to
addresses[0] = new InternetAddress( "[email protected]" );
msg.setReplyTo(addresses);
msg.setSubject(subject);
msg.setText(text);
msg.setHeader("MIME-Version" , "1.0" );
msg.setHeader("Content-Type" , "text/html" );
msg.setHeader("X-Mailer", "Recommend-It Mailer V2.03c02");
Actual gmail id is [email protected] but i read something here
was a problem with re-deploying a ejb... not a prob any more...
please delete this question...
Thanks