Help to solve javax.mail.AuthenticationFailedException: EOF on socket
I am trying to get hotmail emails and store in Oracle 10g database.
When I am executing receivemail procedure from Oracle 10g database. I am getting following error.
connect to ESIMSCO_UTIL_OWNER
SQL> set serveroutput on
SQL>
SQL> Declare
2 v_error_msg varchar2(10000);
3 Begin
4 v_error_msg:=receivemail('pop3.live.com', '<My email address>@hotmail.com', '<My email password>');
5 dbms_output.put_line(v_error_msg);
6 End;
7 /
javax.mail.AuthenticationFailedException: EOF on socket
PL/SQL procedure successfully completed.
SQL>
I did following steps, but still I am getting this error. Can somebady help me to solve this problem.
connect sys/<password>@esimsco as sysdba
connect to sys
SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 30 16:02:04 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> begin
1 dbms_java.grant_permission( 'ESIMSCO_UTIL_OWNER', 'SYS:java.util.PropertyPermission', '*', 'read,write' );
2 commit;
3 end;
4 /
PL/SQL procedure successfully completed.
SQL> begin
2 dbms_java.grant_permission(
3 grantee => 'ESIMSCO_UTIL_OWNER',
4 permission_type => 'SYS:java.net.SocketPermission',
5 permission_name => '*',
6 permission_action => 'connect,resolve'
7 );
8 end;
9 /
PL/SQL procedure successfully completed.
SQL> begin
2 dbms_java.grant_permission(
3 grantee => 'ESIMSCO_UTIL_OWNER',
4 permission_type => 'SYS:java.util.PropertyPermission',
5 permission_name => '*',
6 permission_action => 'read,write'
7 );
8 end;
9 /
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.
SQL>
Then I connect ESIMSCO_UTIL_OWNER.
connect to ESIMSCO_UTIL_OWNER
Create 2 tables.
create table attachment(
at_file varchar2(500),
at_mimetype varchar2(500),
at_attachment blob
create table email (
em_incident integer,
em_from varchar2(1000),
em_subject varchar2(1000),
em_body nclob
Then Create java source named receivemail.
create or replace and compile java source named receivemail as
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
import java.io.*;
import java.sql.*;
import sqlj.runtime.*;
import oracle.sql.BLOB;
public class ReceiveMail
static void getAttachments(Message message, int incidentNo)
throws MessagingException, IOException, SQLException {
//String attachments = "";
Object content = message.getContent();
if (content instanceof Multipart)
// -- Multi part message which may contain attachment
Multipart multipart = (Multipart)message.getContent();
// -- Loop through all parts of the message
for (int i=0, n=multipart.getCount(); i<n; i++) {
Part part = multipart.getBodyPart(i);
String disposition = part.getDisposition();
if ((disposition != null) &&(disposition.equals(Part.ATTACHMENT) || disposition.equals(Part.INLINE))) {
//-- This part is a file attachment
String fileName = incidentNo+"_"+part.getFileName().replace(' ','_');
System.out.println("FILE: " + fileName);
String contentType = part.getContentType();
String mimeType = contentType.substring(0,contentType.indexOf(";"));
System.out.println("FILETYPE: " + mimeType);
InputStream is = part.getInputStream();
// -- To work with a BLOB column you have to insert a record
// -- with an emptly BLOB first.
#sql { insert into attachment(at_file, at_mimetype, at_attachment)
values (:fileName, :mimeType, empty_blob()) };
// -- Retrieve the BLOB
BLOB attachment = null;
#sql { select at_attachment into :attachment
from attachment where at_file = :fileName };
// -- Fill the BLOB
OutputStream os = attachment.getBinaryOutputStream();
int j;
while ((j = is.read()) != -1) {
os.write(j);
is.close();
os.close();
// -- Set the BLOB by updating the record
#sql { update attachment set at_attachment = :attachment
where at_file = :fileName };
static String getPlainTextBody(Message message)
throws MessagingException, IOException
Object content = message.getContent();
if (message.isMimeType("text/plain")) {
// -- Message has plain text body only
System.out.println("SIMPLE TEXT");
return (String) content;
} else if (message.isMimeType("multipart/*")) {
// -- Message is multipart. Loop through the message parts to retrieve
// -- the body.
Multipart mp = (Multipart) message.getContent();
int numParts = mp.getCount();
System.out.println("MULTIPART: "+numParts);
for (int i = 0; i < numParts; ++i) {
System.out.println("PART: "+mp.getBodyPart(i).getContentType());
if (mp.getBodyPart(i).isMimeType("text/plain")) {
// -- Return the plain text body
return (String) mp.getBodyPart(i).getContent();
} else if (mp.getBodyPart(i).isMimeType("multipart/*")) {
// -- Body is also multipart (both plain text and html).
// -- Loop through the body parts to retrieve plain text part.
MimeMultipart mmp = (MimeMultipart) mp.getBodyPart(i).getContent();
int numBodyParts = mmp.getCount();
System.out.println("MULTIBODYPART: "+numBodyParts);
for (int j = 0; j < numBodyParts; ++j) {
System.out.println("BODYPART: "+mmp.getBodyPart(j).getContentType());
if (mmp.getBodyPart(j).isMimeType("text/plain")) {
// -- Return the plain text body
return (String) mmp.getBodyPart(j).getContent();
return "";
} else {
System.out.println("UNKNOWN: "+message.getContentType());
return "";
static void saveMessage(Message message)
throws MessagingException, IOException, SQLException
//String body = "";
int incidentNo;
// -- Get a new incident number
#sql { select seq_incident.nextval into :incidentNo from dual };
// -- Get the header information
String from = ((InternetAddress)message.getFrom()[0]).getAddress();
System.out.println("FROM: "+ from);
String subject = message.getSubject();
System.out.println("SUBJECT: "+subject);
// -- Retrieve the plain text body
String body = getPlainTextBody(message);
// -- Store the message in the email table
#sql { insert into email (em_incident, em_from, em_subject, em_body)
values (:incidentNo, :from, :subject, :body) };
// -- Retrieve the attachments
getAttachments(message, incidentNo);
#sql { commit };
// -- Mark message for deletion
// message.setFlag(Flags.Flag.DELETED, true);
public static String Receive(String POP3Server, String usr, String pwd)
Store store = null;
Folder folder = null;
try
// -- Get hold of the default session --
Properties props = System.getProperties();
props.put("mail.pop3.connectiontimeout", "60000");
Session session = Session.getDefaultInstance(props, null);
// -- Get hold of a POP3 message store, and connect to it --
store = session.getStore("pop3");
store.connect(POP3Server,995, usr, pwd);
System.out.println("Connected");
// -- Try to get hold of the default folder --
folder = store.getDefaultFolder();
if (folder == null) throw new Exception("No default folder");
// -- ...and its INBOX --
folder = folder.getFolder("INBOX");
if (folder == null) throw new Exception("No POP3 INBOX");
// -- Open the folder for read_write (to be able to delete message) --
folder.open(Folder.READ_WRITE);
// -- Get the message wrappers and process them --
Message[] msgs = folder.getMessages();
for (int msgNum = 0; msgNum < msgs.length; msgNum++){
saveMessage(msgs[msgNum]);
System.out.println("No more messages");
return ("SUCCESS");
catch (Exception ex){
ex.printStackTrace();
return ex.toString();
finally{
// -- Close down nicely --
try{
// close(true), to expunge deleted messages
if (folder!=null) folder.close(true);
if (store!=null) store.close();
catch (Exception ex){
//ex.printStackTrace();
return ex.toString();
Then create function receivemail.
create or replace function receivemail(pop3_server in string,
pop3_usr in string,
pop3_pwd in string)
return varchar2
is language java name
'ReceiveMail.Receive(java.lang.String,
java.lang.String,
java.lang.String) return String';
And then trying to execute function receivemail, but I am getting following error.
SQL> set serveroutput on
SQL>
SQL> Declare
2 v_error_msg varchar2(10000);
3 Begin
4 v_error_msg:=receivemail('pop3.live.com', '<Hotmail email address>@hotmail.com', 'Hotmail password');
5 dbms_output.put_line(v_error_msg);
6 End;
7 /
javax.mail.AuthenticationFailedException: EOF on socket
PL/SQL procedure successfully completed.
SQL>
I am requesting, please help me to solve this problem.
I will be very thankful for your kind help and support.
Amol......
Amol Karyakarte wrote:
I am requesting, please help me to solve this problem.
I will be very thankful for your kind help and support.
Amol......since you asked for it:
http://lmgtfy.com/?q=javax.mail.AuthenticationFailedException
First hit
Session session = Session.getDefaultInstance(props, null);Is null correct?
Regards
Similar Messages
-
I am trying to get hotmail emails and store in Oracle 10g database.
When I am executing receivemail procedure from Oracle 10g database. I am getting following error.
connect to ESIMSCO_UTIL_OWNER
SQL> set serveroutput on
SQL>
SQL> Declare
2 v_error_msg varchar2(10000);
3 Begin
4 v_error_msg:=receivemail('pop3.live.com', '<My email address>@hotmail.com', '<My email password>');
5 dbms_output.put_line(v_error_msg);
6 End;
7 /
javax.mail.AuthenticationFailedException: EOF on socket
PL/SQL procedure successfully completed.
SQL>
I did following steps, but still I am getting this error. Can somebady help me to solve this problem.
connect sys/<password>@esimsco as sysdba
connect to sys
SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 30 16:02:04 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> begin
1 dbms_java.grant_permission( 'ESIMSCO_UTIL_OWNER', 'SYS:java.util.PropertyPermission', '*', 'read,write' );
2 commit;
3 end;
4 /
PL/SQL procedure successfully completed.
SQL> begin
2 dbms_java.grant_permission(
3 grantee => 'ESIMSCO_UTIL_OWNER',
4 permission_type => 'SYS:java.net.SocketPermission',
5 permission_name => '*',
6 permission_action => 'connect,resolve'
7 );
8 end;
9 /
PL/SQL procedure successfully completed.
SQL> begin
2 dbms_java.grant_permission(
3 grantee => 'ESIMSCO_UTIL_OWNER',
4 permission_type => 'SYS:java.util.PropertyPermission',
5 permission_name => '*',
6 permission_action => 'read,write'
7 );
8 end;
9 /
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.
SQL>
Then I connect ESIMSCO_UTIL_OWNER.
connect to ESIMSCO_UTIL_OWNER
Create 2 tables.
create table attachment(
at_file varchar2(500),
at_mimetype varchar2(500),
at_attachment blob
create table email (
em_incident integer,
em_from varchar2(1000),
em_subject varchar2(1000),
em_body nclob
Then Create java source named receivemail.
create or replace and compile java source named receivemail as
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
import java.io.*;
import java.sql.*;
import sqlj.runtime.*;
import oracle.sql.BLOB;
public class ReceiveMail
static void getAttachments(Message message, int incidentNo)
throws MessagingException, IOException, SQLException {
//String attachments = "";
Object content = message.getContent();
if (content instanceof Multipart)
// -- Multi part message which may contain attachment
Multipart multipart = (Multipart)message.getContent();
// -- Loop through all parts of the message
for (int i=0, n=multipart.getCount(); i<n; i++) {
Part part = multipart.getBodyPart(i);
String disposition = part.getDisposition();
if ((disposition != null) &&(disposition.equals(Part.ATTACHMENT) || disposition.equals(Part.INLINE))) {
//-- This part is a file attachment
String fileName = incidentNo+"_"+part.getFileName().replace(' ','_');
System.out.println("FILE: " + fileName);
String contentType = part.getContentType();
String mimeType = contentType.substring(0,contentType.indexOf(";"));
System.out.println("FILETYPE: " + mimeType);
InputStream is = part.getInputStream();
// -- To work with a BLOB column you have to insert a record
// -- with an emptly BLOB first.
#sql { insert into attachment(at_file, at_mimetype, at_attachment)
values (:fileName, :mimeType, empty_blob()) };
// -- Retrieve the BLOB
BLOB attachment = null;
#sql { select at_attachment into :attachment
from attachment where at_file = :fileName };
// -- Fill the BLOB
OutputStream os = attachment.getBinaryOutputStream();
int j;
while ((j = is.read()) != -1) {
os.write(j);
is.close();
os.close();
// -- Set the BLOB by updating the record
#sql { update attachment set at_attachment = :attachment
where at_file = :fileName };
static String getPlainTextBody(Message message)
throws MessagingException, IOException
Object content = message.getContent();
if (message.isMimeType("text/plain")) {
// -- Message has plain text body only
System.out.println("SIMPLE TEXT");
return (String) content;
} else if (message.isMimeType("multipart/*")) {
// -- Message is multipart. Loop through the message parts to retrieve
// -- the body.
Multipart mp = (Multipart) message.getContent();
int numParts = mp.getCount();
System.out.println("MULTIPART: "+numParts);
for (int i = 0; i < numParts; ++i) {
System.out.println("PART: "+mp.getBodyPart(i).getContentType());
if (mp.getBodyPart(i).isMimeType("text/plain")) {
// -- Return the plain text body
return (String) mp.getBodyPart(i).getContent();
} else if (mp.getBodyPart(i).isMimeType("multipart/*")) {
// -- Body is also multipart (both plain text and html).
// -- Loop through the body parts to retrieve plain text part.
MimeMultipart mmp = (MimeMultipart) mp.getBodyPart(i).getContent();
int numBodyParts = mmp.getCount();
System.out.println("MULTIBODYPART: "+numBodyParts);
for (int j = 0; j < numBodyParts; ++j) {
System.out.println("BODYPART: "+mmp.getBodyPart(j).getContentType());
if (mmp.getBodyPart(j).isMimeType("text/plain")) {
// -- Return the plain text body
return (String) mmp.getBodyPart(j).getContent();
return "";
} else {
System.out.println("UNKNOWN: "+message.getContentType());
return "";
static void saveMessage(Message message)
throws MessagingException, IOException, SQLException
//String body = "";
int incidentNo;
// -- Get a new incident number
#sql { select seq_incident.nextval into :incidentNo from dual };
// -- Get the header information
String from = ((InternetAddress)message.getFrom()[0]).getAddress();
System.out.println("FROM: "+ from);
String subject = message.getSubject();
System.out.println("SUBJECT: "+subject);
// -- Retrieve the plain text body
String body = getPlainTextBody(message);
// -- Store the message in the email table
#sql { insert into email (em_incident, em_from, em_subject, em_body)
values (:incidentNo, :from, :subject, :body) };
// -- Retrieve the attachments
getAttachments(message, incidentNo);
#sql { commit };
// -- Mark message for deletion
// message.setFlag(Flags.Flag.DELETED, true);
public static String Receive(String POP3Server, String usr, String pwd)
Store store = null;
Folder folder = null;
try
// -- Get hold of the default session --
Properties props = System.getProperties();
props.put("mail.pop3.connectiontimeout", "60000");
Session session = Session.getDefaultInstance(props, null);
// -- Get hold of a POP3 message store, and connect to it --
store = session.getStore("pop3");
store.connect(POP3Server,995, usr, pwd);
System.out.println("Connected");
// -- Try to get hold of the default folder --
folder = store.getDefaultFolder();
if (folder == null) throw new Exception("No default folder");
// -- ...and its INBOX --
folder = folder.getFolder("INBOX");
if (folder == null) throw new Exception("No POP3 INBOX");
// -- Open the folder for read_write (to be able to delete message) --
folder.open(Folder.READ_WRITE);
// -- Get the message wrappers and process them --
Message[] msgs = folder.getMessages();
for (int msgNum = 0; msgNum < msgs.length; msgNum++){
saveMessage(msgs[msgNum]);
System.out.println("No more messages");
return ("SUCCESS");
catch (Exception ex){
ex.printStackTrace();
return ex.toString();
finally{
// -- Close down nicely --
try{
// close(true), to expunge deleted messages
if (folder!=null) folder.close(true);
if (store!=null) store.close();
catch (Exception ex){
//ex.printStackTrace();
return ex.toString();
Then create function receivemail.
create or replace function receivemail(pop3_server in string,
pop3_usr in string,
pop3_pwd in string)
return varchar2
is language java name
'ReceiveMail.Receive(java.lang.String,
java.lang.String,
java.lang.String) return String';
And then trying to execute function receivemail, but I am getting following error.
SQL> set serveroutput on
SQL>
SQL> Declare
2 v_error_msg varchar2(10000);
3 Begin
4 v_error_msg:=receivemail('pop3.live.com', '<Hotmail email address>@hotmail.com', 'Hotmail password');
5 dbms_output.put_line(v_error_msg);
6 End;
7 /
javax.mail.AuthenticationFailedException: EOF on socket
PL/SQL procedure successfully completed.
SQL>
I am requesting, please help me to solve this problem.
I will be very thankful for your kind help and support.
Amol......
Edited by: Amol Karyakarte on 31-May-2012 7:27 AMHello,
I don't think this is the right forum, as this question seems to have nothing to do with the Oracle Forms tool.
You'd better ask it in the database forum.
Francois -
AuthenticationFailedException : EOF on socket ERROR
Hi, there
i'm very upset because of this error
i'm finding out the solution
i'm about to make program to receive mails using pop3
my simple source can be compiled but has run-time error
please show me the solution
the error is like below
Exception in thread "main" javax.mail.AuthenticationFailedExcetion : EOF on socket
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:118)
at javax.mail.Service.connect(Service.java:233)
at javax.mail.Service.connect(Service.java:134)
at MailReciever.recieve(MailReciever.java:48)
at MailReciever.main(MailReciever.java:344)Amol Karyakarte wrote:
I am requesting, please help me to solve this problem.
I will be very thankful for your kind help and support.
Amol......since you asked for it:
http://lmgtfy.com/?q=javax.mail.AuthenticationFailedException
First hit
Session session = Session.getDefaultInstance(props, null);Is null correct?
Regards -
How to solve this problem javax.mail.AuthenticationFailedException
i was used in this progrm my labtop means working correctly but instead of labtop i am using the desktop means following error is occuered can any one tell to me how to solve this problem.The erroe is **javax.mail.AuthenticationFailedException**
The coding is as followes
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class Main
String d_email = "[email protected]",
d_password = "inst9",
d_host = "smtp.gmail.com",
d_port = "465",
m_to = "[email protected]",
m_subject = "Testing",
m_text = "Hey, this is the testing email.";
public Main()
Properties props = new Properties();
props.put("mail.smtp.user", d_email);
props.put("mail.smtp.host", d_host);
props.put("mail.smtp.port", d_port);
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.auth", "true");
//props.put("mail.smtp.debug", "true");
props.put("mail.smtp.socketFactory.port", d_port);
props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
props.put("mail.smtp.socketFactory.fallback", "false");
SecurityManager security = System.getSecurityManager();
try
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getInstance(props, auth);
//session.setDebug(true);
MimeMessage msg = new MimeMessage(session);
msg.setText(m_text);
msg.setSubject(m_subject);
msg.setFrom(new InternetAddress(d_email));
msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
Transport.send(msg);
catch (Exception mex)
mex.printStackTrace();
public static void main(String[] args)
Main blah = new Main();
private class SMTPAuthenticator extends javax.mail.Authenticator
public PasswordAuthentication getPasswordAuthentication()
return new PasswordAuthentication(d_email, d_password);
}yes that not a my password ...but the following erroer is occured ...
run-main:
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:319)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at javax.mail.Transport.send0(Transport.java:188)
at javax.mail.Transport.send(Transport.java:118)
at Main.<init>(Main.java:41)
at Main.main(Main.java:51)
BUILD SUCCESSFUL (total time: 3 seconds)
I am using the netbeand 5.5 -
Hi,
i've a java Mail program which will send the mail thro smtp server.
when i try to execute this program im getting the error javax.mail.MessagingException: [EOF]
i've attached both code & error.
while running the program need to give the arguments
ex : java SendMail smtpserver frommailid tomailid subject body
please provide me the solution.
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class SendMail {
public static void main(String[] args) {
try
String smtpServer=args[0];
String to=args[1];
String from=args[2];
String subject=args[3];
String body=args[4];
send(smtpServer, to, from, subject, body);
catch (Exception ex)
System.out.println("Usage: java SendMail"
+" smtpServer toAddress fromAddress subjectText bodyText");
System.exit(0);
public static void send(String smtpServer, String to, String from
, String subject, String body)
try
Properties props = System.getProperties();
props.put("mail.smtp.host", smtpServer);
Session session = Session.getDefaultInstance(props, null);
Message msg = new MimeMessage(session);
msg.setFrom(new InternetAddress(from));
msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
msg.setSubject(subject);
msg.setText(body);
msg.setSentDate(new Date());
System.out.println("test 1--");
Transport.send(msg);
System.out.println("test 2--");
System.out.println("Message sent OK.");
catch (Exception ex)
ex.printStackTrace();
thanks for the help in advance.
regs
lal.I ran into a similar error today. I fixed it by setting up SMTP authentication because my ISP's help pages said that they would allow only SMTP authentication.
Here is what I did:
Transport transport =
mailConnection.getTransport("smtp");
transport.connect(
"hostname", "email", "password");
Transport.send(msg);
I also passed the following property while creating the session:
props.put("mail.smtp.auth", "true");
finally turning on debug helped:
session.setDebug(true);
session.setDebugOut(null);
Hope this helps -
Exception in thread "main" javax.mail.MessagingException: [EOF]
hi i have a new Application which i need to send Email from it to people
i have tried the code in my university pc's and i works soo fine...but in my home
it gave my error
here is the code
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class TestMail
public static void postMail( String recipients[ ], String subject, String message , String from) throws MessagingException
boolean debug = false;
//Set the host smtp address
Properties props = new Properties();
props.put("mail.smtp.host", "mx2.hotmail.com");
// create some properties and get the default Session
Session session = Session.getDefaultInstance(props, null);
session.setDebug(debug);
// create a message
Message msg = new MimeMessage(session);
// set the from and to address
InternetAddress addressFrom = new InternetAddress(from);
msg.setFrom(addressFrom);
InternetAddress[] addressTo = new InternetAddress[recipients.length];
for (int i = 0; i < recipients.length; i++)
addressTo[i] = new InternetAddress(recipients);
msg.setRecipients(Message.RecipientType.TO, addressTo);
// Optional : You can also set your custom headers in the Email if you Want
msg.addHeader("MyHeaderName", "myHeaderValue");
// Setting the Subject and Content Type
msg.setSubject(subject);
msg.setContent(message, "text/plain");
Transport.send(msg);
public static void main(String args[])throws MessagingException
String mailers[] = new String[1];
mailers[0] = "[email protected]";
postMail(mailers,"hello","hello my dear ay","[email protected]");
}and here is the output of the programe(the error)Exception in thread "main" javax.mail.MessagingException: [EOF]
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1
512)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
at javax.mail.Transport.send0(Transport.java:189)
at javax.mail.Transport.send(Transport.java:118)
at TestMail.postMail(TestMail.java:39)
at TestMail.main(TestMail.java:45)
Press any key to continue . . .plz help meee
Edited by: mld on Dec 30, 2007 9:37 AM
Edited by: mld on Dec 31, 2007 2:32 AMi have tried every thing
i put stmp.bebug in my code and it gave me the following (tis is a part of the output...the other is not important)
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: not loading file: C:\Program Files\Java\jdk1.5.0_06\jre\lib\javamail.addr
ess.map
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_06\jre\lib\
javamail.address.map (The system cannot find the file specified)
Exception in thread "main" javax.mail.MessagingException: [EOF]
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1
512)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
at javax.mail.Transport.send0(Transport.java:189)
at javax.mail.Transport.send(Transport.java:118)
at TestMail.postMail(TestMail.java:43)
at TestMail.main(TestMail.java:49)
Press any key to continue . . . -
Hi,
I am trying to read from a mail box using a simple program. when i try to connect to the mailbox, it gives me this exception. The program was working until two weeks back and suddenly started giving this error.
please help. Thanks in advance.
VR
javax.mail.AuthenticationFailedException: EOF on socket
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at javax.mail.MessagingException.<init>(MessagingException.java:42)
at javax.mail.AuthenticationFailedException.<init>(AuthenticationFailedExce
ption.java:35)
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
at javax.mail.Service.connect(Service.java:234)
at javax.mail.Service.connect(Service.java:135)
at readMail.mainer(Compiled Code)
at ExecreadMail.main(Compiled Code)I think this is probably the key to your problem
javax.mail.AuthenticationFailedException: EOF on socket
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at javax.mail.MessagingException.<init>(MessagingException.java:42)
at javax.mail.AuthenticationFailedException.<init>(AuthenticationFailedExce
ption.java:35)
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
at javax.mail.Service.connect(Service.java:234)
at javax.mail.Service.connect(Service.java:135)
at readMail.mainer(Compiled Code)
at ExecreadMail.main(Compiled Code) -
Javax.mail.mailexception while am trying to send the mail
Hi.
Am trying to send a mail from ADF Application am using SMTP Server to send the mail
I have added javamail.jar in my libraries
This is the code am using to send
public String send() {
// Add event code here...
String to;
to = new String();
String host = "localhost";
String from = "[email protected]";
Properties properties = System.getProperties();
properties.setProperty("mail.smtp.host", host);
Session session = Session.getDefaultInstance(properties);
try{
MimeMessage message = new MimeMessage (session);
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO,new InternetAddress("to"));
message.setSubject(subj);
message.setText(body);
Transport.send(message);
System.out.println ("Sent Message Successfully");
catch(MessagingException max){
max.printStackTrace();
return null;
}Am getting the exception as below
javax.mail.MessagingException: [EOF]
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1512)
at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1321)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:637)
at javax.mail.Transport.send0(Transport.java:189)
at javax.mail.Transport.send(Transport.java:118)
at view.SendMail.send(SendMail.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
Could any one pls help me?
regards,
Prasad K T.This question is better asked in a java forum or JavaMail forum {forum:id=975}
Timo -
Error: Javax.mail does not exist, please help
I have copies mail.jar and activation.jar in the classpath directory as instructed, then try to compile but got the below error: package javax.mail does not exist
please help.
G:\CRD>javac SendMailBean.java
SendMailBean.java:22: package javax.mail does not exist
import javax.mail.*; //JavaMail packages
^
SendMailBean.java:23: package javax.mail.internet does not exist
import javax.mail.internet.*; //JavaMail Internet packages
^
SendMailBean.java:43: cannot resolve symbol
symbol : class Session
location: class SendMailBean
Session l_session = Session.getDefaultInstance(l_props, null);
^
SendMailBean.java:43: cannot resolve symbol
symbol : variable Session
location: class SendMailBean
Session l_session = Session.getDefaultInstance(l_props, null);
^
SendMailBean.java:48: cannot resolve symbol
symbol : class MimeMessage
location: class SendMailBean
MimeMessage l_msg = new MimeMessage(l_session); // Create a New message
^
SendMailBean.java:48: cannot resolve symbol
symbol : class MimeMessage
location: class SendMailBean
MimeMessage l_msg = new MimeMessage(l_session); // Create a New message
^
SendMailBean.java:50: cannot resolve symbol
symbol : class InternetAddress
location: class SendMailBean
l_msg.setFrom(new InternetAddress(p_from)); // Set the From address
^
SendMailBean.java:53: package Message does not exist
l_msg.setRecipients(Message.RecipientType.TO,
^
SendMailBean.java:54: cannot resolve symbol
symbol : variable InternetAddress
location: class SendMailBean
InternetAddress.parse(p_to, false));
^
SendMailBean.java:57: package Message does not exist
l_msg.setRecipients(Message.RecipientType.CC,
^
SendMailBean.java:58: cannot resolve symbol
symbol : variable InternetAddress
location: class SendMailBean
InternetAddress.parse(p_cc, false));
^
SendMailBean.java:62: package Message does not exist
l_msg.setRecipients(Message.RecipientType.BCC,
^
SendMailBean.java:63: cannot resolve symbol
symbol : variable InternetAddress
location: class SendMailBean
InternetAddress.parse(p_bcc, false));
^
SendMailBean.java:68: cannot resolve symbol
symbol : class MimeBodyPart
location: class SendMailBean
MimeBodyPart l_mbp = new MimeBodyPart();
^
SendMailBean.java:68: cannot resolve symbol
symbol : class MimeBodyPart
location: class SendMailBean
MimeBodyPart l_mbp = new MimeBodyPart();
^
SendMailBean.java:72: cannot resolve symbol
symbol : class Multipart
location: class SendMailBean
Multipart l_mp = new MimeMultipart();
^
SendMailBean.java:72: cannot resolve symbol
symbol : class MimeMultipart
location: class SendMailBean
Multipart l_mp = new MimeMultipart();
^
SendMailBean.java:83: cannot resolve symbol
symbol : variable Transport
location: class SendMailBean
Transport.send(l_msg);
^
SendMailBean.java:98: cannot resolve symbol
symbol : class MessagingException
location: class SendMailBean
} catch (MessagingException mex) { // Trap the MessagingException Error
^
19 errorsAnother person who doesn't understand how to set CLASSPATH.
Move those JARs into the same directory as your SendMailBean.java and do it like this:
javac -classpath .;mail.jar;activation.jar -d . *.java
java -classpath .;mail.jar;activation.jar SendMailBeanRead how to set CLASSPATH properly:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html -
Please help! javax.mail.SendFailedException is killing me
im trying to send myself an email through javax.mail and this is the error i get: it is thrown from Transport.send(msg);i dont have access to its source so i cannot trace through it... can anyone please tell me what might cause this error?
javax.mail.SendFailedException: 550 <[email protected]>: Recipient address rejected: Relay access deniedHi,
I'm trying to send mail thro a servlet.
When I use host as 'mail.vsnl.com'
It gives the following exeception
Relay access denied
can U help me!
thanks in adv.
Isaaac -
Package javax.mail does not exist. Please Help !
Hi all,
I am new to Java and I downloaded some sample application and when I try to compile it, I get an error:
"package javax.mail does not exist".
I've looked through forums and I know something is wrong with CLASSPATHS and that I also have to download the java mail package, but I dont know how to exactly fix this problem. I would appreciate very much if someone could help me, maybe by telling me the steps I need to take.
Thanks.Hey Rom,
Thanks for reply.
The sample application is an authentication module:
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html
But I think this doesnt really matter, as the error I get is because I have manually added the : import java.mail.*; statement. (Maybe I had to mention it in the previous post). Because I want to add some mail client inside.
I am compiling it using the command: javac, from the commandline menu. -
[help] javax.mail.SendFailedException
What it means?
javax.mail.SendFailedException: Invalid Addresses; nested exception is: class com.sun.mail.smtp.SMTPAddressFailedException: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
I use javax.mail API to send email from java servlet using a .info smtp server.
It is the domain .info that create this error?
Can i resolve?
I tryed with a .it smtp server but it doesn't change...only with the server smtp of my ISP the mail was send correctly!
Sorry for my english...Help Me!The SMTP server you use does not allow relaying mesages from/to the specified domain. Example: you cannot use yahoo's SMTP server to relay an email to [email protected] Change your rcpthosts on the SMTP server.
-
Can anyone help me solving this problem with Mail?
I haven´t being able to send emails with MAIL for two days. I have managed 7 email accounts with 3 different servers for more than 2 years with no problem until last Monday.
Basically, what I can notice as unusual is this message from Connection Inspector:
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
But I have copy/pasted what Connection Inspector says:
urityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x117b0fc60 -- thread:0x117b8b340
+OK
WROTE Oct 16 14:09:36.480 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x118714190 -- thread:0x11872ee70
CAPA
READ Oct 16 14:09:36.531 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11867d520 -- thread:0x11734ba80
+OK
WROTE Oct 16 14:09:36.552 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x119c3e2f0 -- thread:0x1189210d0
USER [email protected]
WROTE Oct 16 14:09:36.622 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x11d40d8c0 -- thread:0x114462fe0
USER [email protected]
READ Oct 16 14:09:36.640 [kCFStreamSocketSecurityLevelNone] -- host:mail.fundaciondeloslagos.org -- port:587 -- socket:0x1181804d0 -- thread:0x118731cd0
250-dime124.dizinc.com Hello [192.168.2.5] [190.49.30.228]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
WROTE Oct 16 14:09:36.666 [kCFStreamSocketSecurityLevelNone] -- host:mail.spanishinbariloche.com -- port:587 -- socket:0x11adb69c0 -- thread:0x11445b140
EHLO [192.168.2.5]
READ Oct 16 14:09:36.677 [kCFStreamSocketSecurityLevelNone] -- host:mail.lamontana.com -- port:587 -- socket:0x11d403520 -- thread:0x11d40e9f0
250-dime155.dizinc.com Hello [192.168.2.5] [190.49.30.228]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
WROTE Oct 16 14:09:36.694 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11863c650 -- thread:0x1168cdf20
USER [email protected]
WROTE Oct 16 14:09:36.720 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x117349340 -- thread:0x1005af900
USER [email protected]
WROTE Oct 16 14:09:36.744 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x117b0fc60 -- thread:0x117b8b340
PASS ********
WROTE Oct 16 14:09:36.795 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11867d520 -- thread:0x11734ba80
PASS ********
READ Oct 16 14:09:36.806 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x118714190 -- thread:0x11872ee70
+OK
CAPA
TOP
UIDL
RESP-CODES
PIPELINING
USER
SASL PLAIN LOGIN
READ Oct 16 14:09:36.870 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x119c3e2f0 -- thread:0x1189210d0
+OK
WROTE Oct 16 14:09:36.871 [kCFStreamSocketSecurityLevelNone] -- host:mail.fundaciondeloslagos.org -- port:587 -- socket:0x1181804d0 -- thread:0x118731cd0
QUIT
WROTE Oct 16 14:09:36.924 [kCFStreamSocketSecurityLevelNone] -- host:mail.lamontana.com -- port:587 -- socket:0x11d403520 -- thread:0x11d40e9f0
QUIT
READ Oct 16 14:09:36.948 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x11d40d8c0 -- thread:0x114462fe0
+OK
READ Oct 16 14:09:36.996 [kCFStreamSocketSecurityLevelNone] -- host:mail.spanishinbariloche.com -- port:587 -- socket:0x11adb69c0 -- thread:0x11445b140
250-dime124.dizinc.com Hello [192.168.2.5] [190.49.30.228]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
READ Oct 16 14:09:37.012 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11863c650 -- thread:0x1168cdf20
+OK
READ Oct 16 14:09:37.054 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x117349340 -- thread:0x1005af900
+OK
WROTE Oct 16 14:09:37.065 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x118714190 -- thread:0x11872ee70
USER [email protected]
READ Oct 16 14:09:37.087 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x117b0fc60 -- thread:0x117b8b340
+OK Logged in.
WROTE Oct 16 14:09:37.094 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x119c3e2f0 -- thread:0x1189210d0
PASS ********
READ Oct 16 14:09:37.124 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11867d520 -- thread:0x11734ba80
+OK Logged in.
WROTE Oct 16 14:09:37.179 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x11d40d8c0 -- thread:0x114462fe0
PASS ********
WROTE Oct 16 14:09:37.219 [kCFStreamSocketSecurityLevelNone] -- host:mail.spanishinbariloche.com -- port:587 -- socket:0x11adb69c0 -- thread:0x11445b140
QUIT
WROTE Oct 16 14:09:37.246 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11863c650 -- thread:0x1168cdf20
PASS ********
WROTE Oct 16 14:09:37.274 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x117349340 -- thread:0x1005af900
PASS ********
WROTE Oct 16 14:09:37.331 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x117b0fc60 -- thread:0x117b8b340
QUIT
READ Oct 16 14:09:37.384 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x118714190 -- thread:0x11872ee70
+OK
WROTE Oct 16 14:09:37.388 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11867d520 -- thread:0x11734ba80
QUIT
READ Oct 16 14:09:37.421 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x119c3e2f0 -- thread:0x1189210d0
+OK Logged in.
READ Oct 16 14:09:37.519 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x11d40d8c0 -- thread:0x114462fe0
+OK Logged in.
WROTE Oct 16 14:09:37.578 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x118714190 -- thread:0x11872ee70
PASS ********
READ Oct 16 14:09:37.580 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11863c650 -- thread:0x1168cdf20
+OK Logged in.
READ Oct 16 14:09:37.602 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x117349340 -- thread:0x1005af900
+OK Logged in.
READ Oct 16 14:09:37.649 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x117b0fc60 -- thread:0x117b8b340
+OK Logging out.
WROTE Oct 16 14:09:37.657 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x119c3e2f0 -- thread:0x1189210d0
QUIT
WROTE Oct 16 14:09:37.680 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x11d40d8c0 -- thread:0x114462fe0
QUIT
READ Oct 16 14:09:37.705 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11867d520 -- thread:0x11734ba80
+OK Logging out.
WROTE Oct 16 14:09:37.731 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11863c650 -- thread:0x1168cdf20
QUIT
WROTE Oct 16 14:09:37.756 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x117349340 -- thread:0x1005af900
QUIT
READ Oct 16 14:09:37.915 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x118714190 -- thread:0x11872ee70
+OK Logged in.
WROTE Oct 16 14:09:37.945 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x118714190 -- thread:0x11872ee70
QUIT
READ Oct 16 14:09:37.976 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x119c3e2f0 -- thread:0x1189210d0
+OK Logging out.
READ Oct 16 14:09:38.010 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x11d40d8c0 -- thread:0x114462fe0
+OK Logging out.
READ Oct 16 14:09:38.051 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11863c650 -- thread:0x1168cdf20
+OK Logging out.
READ Oct 16 14:09:38.079 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x117349340 -- thread:0x1005af900
+OK Logging out.
READ Oct 16 14:09:38.270 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x118714190 -- thread:0x11872ee70
+OK Logging out.
CONNECTED Oct 16 14:11:00.752 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11864c2e0 -- thread:0x117b48800
CONNECTED Oct 16 14:11:00.752 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1173e2b40 -- thread:0x1189fad80
CONNECTED Oct 16 14:11:00.753 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1167c5cf0 -- thread:0x118151ef0
CONNECTED Oct 16 14:11:00.754 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1168c80b0 -- thread:0x1188b42a0
CONNECTED Oct 16 14:11:00.755 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x115fbf290 -- thread:0x11867d890
CONNECTED Oct 16 14:11:00.755 [kCFStreamSocketSecurityLevelNone] -- host:mail.spanishinbariloche.com -- port:25 -- socket:0x11ad0a7d0 -- thread:0x11b3406f0
CONNECTED Oct 16 14:11:00.756 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x1167388b0 -- thread:0x116677ef0
CONNECTED Oct 16 14:11:00.756 [kCFStreamSocketSecurityLevelNone] -- host:mail.fundaciondeloslagos.org -- port:25 -- socket:0x119c94890 -- thread:0x11d40a2a0
CONNECTED Oct 16 14:11:00.757 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x11d4f2e80 -- thread:0x118150ca0
CONNECTED Oct 16 14:11:00.757 [kCFStreamSocketSecurityLevelNone] -- host:mail.lamontana.com -- port:587 -- socket:0x1179d3df0 -- thread:0x11731e680
READ Oct 16 14:11:03.770 [kCFStreamSocketSecurityLevelNone] -- host:mail.spanishinbariloche.com -- port:25 -- socket:0x11ad0a7d0 -- thread:0x11b3406f0
451-The server has reached its limit for processing requests from your host.
451 Please try again later.
READ Oct 16 14:11:03.770 [kCFStreamSocketSecurityLevelNone] -- host:mail.fundaciondeloslagos.org -- port:25 -- socket:0x119c94890 -- thread:0x11d40a2a0
451-The server has reached its limit for processing requests from your host.
451 Please try again later.
READ Oct 16 14:11:03.777 [kCFStreamSocketSecurityLevelNone] -- host:mail.lamontana.com -- port:587 -- socket:0x1179d3df0 -- thread:0x11731e680
220-dime155.dizinc.com ESMTP Exim 4.80 #2 Wed, 16 Oct 2013 13:11:02 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
WROTE Oct 16 14:11:03.863 [kCFStreamSocketSecurityLevelNone] -- host:mail.lamontana.com -- port:587 -- socket:0x1179d3df0 -- thread:0x11731e680
EHLO [192.168.2.5]
CONNECTED Oct 16 14:11:04.165 [kCFStreamSocketSecurityLevelNone] -- host:mail.spanishinbariloche.com -- port:587 -- socket:0x117944c00 -- thread:0x11b3406f0
CONNECTED Oct 16 14:11:04.168 [kCFStreamSocketSecurityLevelNone] -- host:mail.fundaciondeloslagos.org -- port:587 -- socket:0x1179f2fe0 -- thread:0x11d40a2a0
READ Oct 16 14:11:04.193 [kCFStreamSocketSecurityLevelNone] -- host:mail.lamontana.com -- port:587 -- socket:0x1179d3df0 -- thread:0x11731e680
250-dime155.dizinc.com Hello [192.168.2.5] [190.49.30.228]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
WROTE Oct 16 14:11:04.242 [kCFStreamSocketSecurityLevelNone] -- host:mail.lamontana.com -- port:587 -- socket:0x1179d3df0 -- thread:0x11731e680
QUIT
READ Oct 16 14:11:04.262 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x115fbf290 -- thread:0x11867d890
+OK Dovecot ready.
WROTE Oct 16 14:11:04.300 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x115fbf290 -- thread:0x11867d890
CAPA
READ Oct 16 14:11:04.486 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x1167388b0 -- thread:0x116677ef0
+OK Dovecot ready.
READ Oct 16 14:11:04.491 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x11d4f2e80 -- thread:0x118150ca0
+OK Dovecot ready.
READ Oct 16 14:11:04.493 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1173e2b40 -- thread:0x1189fad80
+OK Dovecot ready.
READ Oct 16 14:11:04.495 [kCFStreamSocketSecurityLevelNone] -- host:mail.spanishinbariloche.com -- port:587 -- socket:0x117944c00 -- thread:0x11b3406f0
220-dime124.dizinc.com ESMTP Exim 4.80.1 #2 Wed, 16 Oct 2013 13:11:05 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
READ Oct 16 14:11:04.496 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11864c2e0 -- thread:0x117b48800
+OK Dovecot ready.
READ Oct 16 14:11:04.497 [kCFStreamSocketSecurityLevelNone] -- host:mail.fundaciondeloslagos.org -- port:587 -- socket:0x1179f2fe0 -- thread:0x11d40a2a0
220-dime124.dizinc.com ESMTP Exim 4.80.1 #2 Wed, 16 Oct 2013 13:11:05 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
READ Oct 16 14:11:04.499 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1167c5cf0 -- thread:0x118151ef0
+OK Dovecot ready.
WROTE Oct 16 14:11:04.511 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x1167388b0 -- thread:0x116677ef0
CAPA
WROTE Oct 16 14:11:04.536 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x11d4f2e80 -- thread:0x118150ca0
CAPA
WROTE Oct 16 14:11:04.561 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1173e2b40 -- thread:0x1189fad80
CAPA
READ Oct 16 14:11:04.586 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1168c80b0 -- thread:0x1188b42a0
+OK Dovecot ready.
WROTE Oct 16 14:11:04.594 [kCFStreamSocketSecurityLevelNone] -- host:mail.spanishinbariloche.com -- port:587 -- socket:0x117944c00 -- thread:0x11b3406f0
EHLO [192.168.2.5]
WROTE Oct 16 14:11:04.614 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11864c2e0 -- thread:0x117b48800
CAPA
READ Oct 16 14:11:04.625 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x115fbf290 -- thread:0x11867d890
+OK
CAPA
TOP
UIDL
RESP-CODES
PIPELINING
USER
SASL PLAIN LOGIN
WROTE Oct 16 14:11:04.648 [kCFStreamSocketSecurityLevelNone] -- host:mail.fundaciondeloslagos.org -- port:587 -- socket:0x1179f2fe0 -- thread:0x11d40a2a0
EHLO [192.168.2.5]
WROTE Oct 16 14:11:04.667 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1167c5cf0 -- thread:0x118151ef0
CAPA
WROTE Oct 16 14:11:04.778 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1168c80b0 -- thread:0x1188b42a0
CAPA
READ Oct 16 14:11:04.838 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x1167388b0 -- thread:0x116677ef0
+OK
CAPA
TOP
UIDL
RESP-CODES
PIPELINING
USER
SASL PLAIN LOGIN
WROTE Oct 16 14:11:04.859 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x115fbf290 -- thread:0x11867d890
USER [email protected]
READ Oct 16 14:11:04.865 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x11d4f2e80 -- thread:0x118150ca0
+OK
CAPA
TOP
UIDL
RESP-CODES
PIPELINING
USER
SASL PLAIN LOGIN
READ Oct 16 14:11:04.886 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1173e2b40 -- thread:0x1189fad80
+OK
CAPA
TOP
UIDL
RESP-CODES
PIPELINING
USER
SASL PLAIN LOGIN
READ Oct 16 14:11:04.921 [kCFStreamSocketSecurityLevelNone] -- host:mail.spanishinbariloche.com -- port:587 -- socket:0x117944c00 -- thread:0x11b3406f0
250-dime124.dizinc.com Hello [192.168.2.5] [190.49.30.228]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
READ Oct 16 14:11:04.938 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11864c2e0 -- thread:0x117b48800
+OK
CAPA
TOP
UIDL
RESP-CODES
PIPELINING
USER
SASL PLAIN LOGIN
READ Oct 16 14:11:04.974 [kCFStreamSocketSecurityLevelNone] -- host:mail.fundaciondeloslagos.org -- port:587 -- socket:0x1179f2fe0 -- thread:0x11d40a2a0
250-dime124.dizinc.com Hello [192.168.2.5] [190.49.30.228]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
WROTE Oct 16 14:11:04.975 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x1167388b0 -- thread:0x116677ef0
USER [email protected]
READ Oct 16 14:11:04.989 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1167c5cf0 -- thread:0x118151ef0
+OK
CAPA
TOP
UIDL
RESP-CODES
PIPELINING
USER
SASL PLAIN LOGIN
WROTE Oct 16 14:11:05.027 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x11d4f2e80 -- thread:0x118150ca0
USER [email protected]
WROTE Oct 16 14:11:05.052 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1173e2b40 -- thread:0x1189fad80
USER [email protected]
WROTE Oct 16 14:11:05.080 [kCFStreamSocketSecurityLevelNone] -- host:mail.spanishinbariloche.com -- port:587 -- socket:0x117944c00 -- thread:0x11b3406f0
QUIT
READ Oct 16 14:11:05.107 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1168c80b0 -- thread:0x1188b42a0
+OK
CAPA
TOP
UIDL
RESP-CODES
PIPELINING
USER
SASL PLAIN LOGIN
WROTE Oct 16 14:11:05.116 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11864c2e0 -- thread:0x117b48800
USER [email protected]
WROTE Oct 16 14:11:05.143 [kCFStreamSocketSecurityLevelNone] -- host:mail.fundaciondeloslagos.org -- port:587 -- socket:0x1179f2fe0 -- thread:0x11d40a2a0
QUIT
READ Oct 16 14:11:05.182 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x115fbf290 -- thread:0x11867d890
+OK
WROTE Oct 16 14:11:05.200 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1167c5cf0 -- thread:0x118151ef0
USER [email protected]
READ Oct 16 14:11:05.303 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x1167388b0 -- thread:0x116677ef0
+OK
WROTE Oct 16 14:11:05.320 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1168c80b0 -- thread:0x1188b42a0
USER [email protected]
READ Oct 16 14:11:05.355 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x11d4f2e80 -- thread:0x118150ca0
+OK
READ Oct 16 14:11:05.379 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1173e2b40 -- thread:0x1189fad80
+OK
WROTE Oct 16 14:11:05.406 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x115fbf290 -- thread:0x11867d890
PASS ********
READ Oct 16 14:11:05.440 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11864c2e0 -- thread:0x117b48800
+OK
WROTE Oct 16 14:11:05.476 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x1167388b0 -- thread:0x116677ef0
PASS ********
READ Oct 16 14:11:05.523 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1167c5cf0 -- thread:0x118151ef0
+OK
WROTE Oct 16 14:11:05.534 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x11d4f2e80 -- thread:0x118150ca0
PASS ********
WROTE Oct 16 14:11:05.565 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1173e2b40 -- thread:0x1189fad80
PASS ********
WROTE Oct 16 14:11:05.624 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11864c2e0 -- thread:0x117b48800
PASS ********
READ Oct 16 14:11:05.648 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1168c80b0 -- thread:0x1188b42a0
+OK
WROTE Oct 16 14:11:05.690 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1167c5cf0 -- thread:0x118151ef0
PASS ********
READ Oct 16 14:11:05.742 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x115fbf290 -- thread:0x11867d890
+OK Logged in.
WROTE Oct 16 14:11:05.811 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1168c80b0 -- thread:0x1188b42a0
PASS ********
WROTE Oct 16 14:11:05.864 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x115fbf290 -- thread:0x11867d890
QUIT
READ Oct 16 14:11:05.872 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x11d4f2e80 -- thread:0x118150ca0
+OK Logged in.
READ Oct 16 14:11:05.901 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1173e2b40 -- thread:0x1189fad80
+OK Logged in.
WROTE Oct 16 14:11:05.947 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x11d4f2e80 -- thread:0x118150ca0
QUIT
READ Oct 16 14:11:05.969 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11864c2e0 -- thread:0x117b48800
+OK Logged in.
WROTE Oct 16 14:11:05.971 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1173e2b40 -- thread:0x1189fad80
QUIT
READ Oct 16 14:11:05.987 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x1167388b0 -- thread:0x116677ef0
+OK Logged in.
WROTE Oct 16 14:11:06.023 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11864c2e0 -- thread:0x117b48800
QUIT
READ Oct 16 14:11:06.028 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1167c5cf0 -- thread:0x118151ef0
+OK Logged in.
WROTE Oct 16 14:11:06.080 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x1167388b0 -- thread:0x116677ef0
QUIT
WROTE Oct 16 14:11:06.132 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1167c5cf0 -- thread:0x118151ef0
QUIT
READ Oct 16 14:11:06.154 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1168c80b0 -- thread:0x1188b42a0
+OK Logged in.
READ Oct 16 14:11:06.189 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x115fbf290 -- thread:0x11867d890
+OK Logging out.
WROTE Oct 16 14:11:06.214 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1168c80b0 -- thread:0x1188b42a0
QUIT
READ Oct 16 14:11:06.273 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.fundaciondeloslagos.org -- port:995 -- socket:0x11d4f2e80 -- thread:0x118150ca0
+OK Logging out.
READ Oct 16 14:11:06.294 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1173e2b40 -- thread:0x1189fad80
+OK Logging out.
READ Oct 16 14:11:06.346 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x11864c2e0 -- thread:0x117b48800
+OK Logging out.
READ Oct 16 14:11:06.406 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.lamontana.com -- port:995 -- socket:0x1167388b0 -- thread:0x116677ef0
+OK Logging out.
READ Oct 16 14:11:06.453 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1167c5cf0 -- thread:0x118151ef0
+OK Logging out.
READ Oct 16 14:11:06.540 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spanishinbariloche.com -- port:995 -- socket:0x1168c80b0 -- thread:0x1188b42a0
+OK Logging out.Deep1974 wrote:
Can anyone help me solving this question with explaination .
Given:
11. public String makinStrings() {
12. String s = ?Fred?;
13. s = s + ?47?;
14. s = s.substring(2, 5);
15. s = s.toUpperCase();
16. return s.toString();
17. }
How many String objects will be created when this method is invoked?
A. 1
B. 2
C. 3
D. 4
E. 5
F. 61 is created at line 13 as a result of StringBuilder.toString().
1 is created at line 14 as a result of substring().
1 is created at line 15 as a result of toUpperCase().
The Strings "Fred" and "47" at lines 12 and 13 are NOT created when that method is invoked. They are created when the class is loaded.
Note, however, that some of this is based on current implementations, NOT on requirements of the JLS or VM spec, so really, the answers could be different. Overall, it's a poorly thought out question.
Edited by: jverd on Jan 28, 2010 2:35 PM -
Javax.mail problem...can any1 help
Hi all;
me am using javamail version 1.3 to send simple text mail using smtp server...during compilation, no error arises but while running following exception arises;
Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 550 5.7.1 ... Relaying denied ; nested exception is: javax.mail.SendFailedException: 550 5.7.1 ... Relaying denied ; nested exception is: javax.mail.SendFailedException: 550 5.7.1 ... Relaying denied
wat should i do...where does the problem lie...
would b waiting desperately for immediate replies.
Regardswhile executing the above mentioned code...following errors come out...
javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 550 5.7.1 <[email protected]>... Relaying denied
nested exception is:
javax.mail.SendFailedException: 550 5.7.1 <[email protected]>... Relaying denied
nested exception is:
javax.mail.SendFailedException: 550 5.7.1 <[email protected]>... Relaying denied
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
at __27eayyaz._msgsend__jsp._jspService(/~ayyaz/msgsend.jsp:25)
at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
at com.caucho.jsp.Page.subservice(Page.java:485)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:181)
at com.caucho.server.http.Invocation.service(Invocation.java:291)
at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:341)
at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:268)
at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
at java.lang.Thread.run(Thread.java:544) -
Please help me!!javax.mail.SendingFailedException
I use javamail to send email,
but it throws javax.mail.SendingFailedException,
and it says the receiver is invalid address,
but I am sure the receiver is valid!
What's the problem?
Many Thanks!What is the full stack trace, what address are you sending to, and a code segment would be nice. It's kind of hard to debug if you don't have any useful information.
Maybe you are looking for
-
I keep changing my background (wallpaper) but every time I move to a different space it resets the background to the default. I've tried everything I can think of but can't fix it.
-
Newbie Question: Java -Xmx and other settings...
Hi all I have a simple question, I know that you can use the -Xms and -Xmx to set the heap size, but when I run this command is it permanent or do I have to set it each time I boot up my Windows system? How do tell what the current heap size is? I wo
-
XI-BW integration document??
Hi there, Does anyone have the link from where I can download the doucment that talk s about BW-XI integration?? Thanks Karma
-
How to programatically very the PWM output frequency in 7344, to the desired value
Hi I can use the PWM output only for the frequencies that is specified like 40Khz or 20KHz. I require to set the PWM frequency programatically to the desired value at a aduty cycle of 50%. How to implement this.
-
How to sent/recie​ve simple USB commands?
Hello, Before I start. I've been reading om the internet (USB tutorials, nuggets, etc.) for the last 2 days to get this, but it is really confusing and I still have no idea how to do this. So I'm asking for your help. I setup a custom USB device in M