Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

sending email in java

Posted on 2014-01-31
7
Medium Priority
?
477 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 668 total points
ID: 39826791
The example states that you have to download the mailenable, have you done it?
0
 
LVL 21

Assisted Solution

by:Amitkumar Panchal
Amitkumar Panchal earned 664 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 36

Accepted Solution

by:
mccarl earned 668 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
A solution for Fortify Path Manipulation.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

885 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