posted 24 years ago
hi all,
u can attach a message using MimeBodyPart by doing individual Bodypart as many times as required.
MimeBodyPart mbp1= new MimeBodyPart();
MimeBodyPart mbp2= new MimeBodyPart();
Multipart mp=new MimeMultipart();
mp.addBodyPart(mbp1);
mp.addBodyPart(mbp2);
msg.setContent(mp);
i hope this will help u.
But i have a doubt how do i get my mails from my yahoo inbox to my machine.when i tried to connect the system through pop.mail.yahoo.com and protcol as http,it throws a exception called
"NoSuchProviderException:http"
please help.
u r help will be much appreciated.
Thanks in advance,
sunil.s
"Winners don't do different things<br /> They do things differently"