Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

sending email in java

Posted on 2014-01-31
7
436 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 21

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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

789 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