Solved

sending email in java

Posted on 2014-01-31
7
424 Views
Last Modified: 2014-03-07
Hi,

I was trying this example to send email using java.

http://www.avajava.com/tutorials/lessons/how-do-i-send-an-email-in-java.html

I never configured host, domain etc. How to run this example.
please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
7 Comments
 
LVL 35

Assisted Solution

by:girionis
girionis earned 167 total points
ID: 39826791
The example states that you have to download the mailenable, have you done it?
0
 
LVL 20

Assisted Solution

by:Amitkumar Panchal
Amitkumar Panchal earned 166 total points
ID: 39827811
Agree with girionis.

The link itself gives some idea how to configure mailenable. Configure mailenable in your local machine to make your machine SMTP server. Then you can use to send the mails and verify send mail program.
0
 
LVL 7

Author Comment

by:gudii9
ID: 39842753
will try from home laptop
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 7

Author Comment

by:gudii9
ID: 39878671
I just downloaded it.
For some strange reason, Microsoft buries this useful file (at least in XP) at C:\WINDOWS\system32\drivers\etc\hosts. This is similar to Oracle burying the tnsnames.ora file way down in the directory structure. Oh wait, I digress...[


I do not see etc under

C:\WINDOWS\system32\drivers

so I could not see hosts file also

My laptop is windows7.

Please advise
0
 
LVL 7

Author Comment

by:gudii9
ID: 39878674
This project utilizes the JavaMail API, which can be downloaded at http://java.sun.com/products/javamail/downloads/. The JavaMail API requires the JavaBeansW Activation Framework, which can be downloaded at http://java.sun.com/products/javabeans/jaf/downloads/index.html.

Above two links also not working. where can i download them. Please advise
0
 
LVL 35

Accepted Solution

by:
mccarl earned 167 total points
ID: 39879128
0
 
LVL 7

Author Comment

by:gudii9
ID: 39889278
I will try with those links and let you know
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now