Hi,
I need urgently,plz anybody help me....
thanks in advance.
User Profile
Collapse
-
Hi,
I post my code here
[code=java]
Properties props = new Properties();
Session session = Session.getInst ance(props, null);
Store store = session.getStor e("pop3");
store.connect(h ost, username, password);
Folder folder = store.getFolder ("INBOX");
folder.open(Fol der.READ_ONLY);
Message message[] = folder.getMessa ges();
System.out.prin tln();...Leave a comment:
-
Receiving Mail
Hi,
I am doing receive mail,I can receive date,from and subject.
can I receive to,cc,bcc and content.
I need urgently,plz help me.
Thanks in advance. -
Hi,
Can I add any Dictionary for spell checking give some idea .
Thanks in advanceLeave a comment:
-
Preview the Compose Message
Hi,
I am doing send mail using javamail, I have three doubt
1.Preview the mail
2.Check Spelling
3.Save Draft
I have no idea to above three,plz anybody give the idea to that.
Thanks in advance -
Checking the Size of a File
Hi,
I am trying to checking the size of a file using javascript, I am using the following code
[code=java]
<html>
<head>
<script language="JavaS cript">
function A()
{
var oas = new ActiveXObject(" Scripting.FileS ystemObject");
var d = document.a.b.va lue;
var e = oas.getFile(d);
var f = e.size;
var mb=f/(1024);
alert(mb... -
Find th File size
Hi,
I am trying to checking the size of a file using javascript, I am using the following code
[code=java]
<html>
<head>
<script language="JavaS cript">
function A()
{
var oas = new ActiveXObject(" Scripting.FileS ystemObject");
var d = document.a.b.va lue;
var e = oas.getFile(d);
var f = e.size;
var mb=f/(1024);
alert(mb... -
Hi,
I know jdbc, many times I am using sql query with in jsp and servlet.
But I did not use multiple Queries in jsp and servlet.so please help me.
Thanks in advanceLeave a comment:
-
How many query can use one jsp or servler
Hi,
How many Queries can use one jsp or servlet page.
How to use the following Queries in one jsp or servlet page
[code=mysql]
select * from contact where type='sales'
select * from contact where type='Purchase'
ect...
[/code] -
Hi,
Now I need urgent issue is
mail does
not send other domains( like yahoo,google and other company domains ), why this problem occur sometimes?
Please help me,
Thanks in advance.Leave a comment:
-
Authentication Error
Hi,
I am doing sending mail using javamail, its working perfectly but sometimes mail does not send other domains( like yahoo,google and other company domains ), why this problem occur sometimes?
now I am trying to set the Authentication , but I got the following error
cannot resolve symbol
symbol: class POPUPAuthentica tion
location:Authen ticator auth = new PopupAuthentica tor(fromId, password);
Please... -
java.lang.NullPointerException
Hi,
I have jsp with servlet page,after run my servlet I
got blank page with the following tomcat error while run my servlet page,
java.lang.NullP ointerException
at com.signup.Base Servlet.doGet
at javax.servlet.h ttp.HttpServlet .service
at org.apache.cata lina.servlets.I nvokerServlet.d oGet
at filters.Example Filter.doFilter
at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo keNext... -
Hi,
I was asking you not in sql, In access directly we can type the field name, likewise how to give the image path or url in access.
If we give the path like ,
c:Image/tree.jpg means access accept or not and then how to retrive this path from database and how to change it as image path, Because usually we give the path like,
<img url=c:Image/tree.jsp>
Please give the solution.Leave a comment:
-
Hi,
Thank you very much for your help, Now Its work perfectly with multiple mailid's.
but In some other system its not working. my smtp settings like
props.put("mail .smtp.host","ma il.companyname. com");
If I give the mailids like a@company.com,b @company.com means
its working proper, otherwise I give a@gmail.com,b@y ahoo.com means I got the following error,
ERROR.....javax .mail.SendFaile dException:...Leave a comment:
-
fetch url from database
Hi,
How to set image path (or) url in database without using insert method,
(for eg:name means directily put the name in database like anu.)
and how to fetch that image from database.
Please help me.
thanks in advance. -
Hi,
I used the following code,
[code=java]
ArrayList list = new ArrayList();
while(rs.next() )
{
//String to=rs.getString (1);
list.add(rs.get String(1));
}
String m="";
for(int i=0;i<list.size ();i++)
{
m += list.get(i).toS tring()+"," ;
}
//String to=m;
MimeMessage...Leave a comment:
-
Hi,
If I remove the quotes , I got the compile time error,
cannot resolve symbol
symbol:variable m
location:messag e.setRecipient( Message.Recipie ntType.TO,new InternetAddress (m));
[code=java]
ArrayList list = new ArrayList();
while(rs.next() )
{
String to=rs.getString (1);
list.add(to);
}
String m="";
for(int i=0;i<list.size ();i++)...Leave a comment:
-
Hi,
I tried that way even then I didnot get the answer, I put the code like this
[code=java]
ArrayList list = new ArrayList();
while(rs.next() )
{
String to=rs.getString (1);
list.add(to);
}
String m="";
for(int i=0;i<list.size ();i++)
{
m += list.get(i).toS tring();
}
String to=m;
out.println(to) ;
...Leave a comment:
-
Hi,
I tried many ways, but I didnot get the answer,Please help me.
I think it is typecast error, after fetching the values from database I print that values using out.println(lis t) , I got the output [dev@yahoo.com].
and then I tried to convert from arraylist to string, I had no compile time error,
but I got runtime error, that time also I print that values using out.println(lis t).
If I pass the...Leave a comment:
-
Hi,
I put the code like
[code=java]
while(rs.next() )
{
list.add(rs.get String(1));
}
}
catch(Exception e)
{
out.println(e);
}
MimeMessage message = new MimeMessage(ses sion);
message.setReci pient(Message.R ecipientType.TO ,new InternetAddress (list));
[/code]
means I got the following error,...Leave a comment:
No activity results to display
Show More
Leave a comment: