Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

sending email in java

Posted on 2014-01-31
7
Medium Priority
?
468 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
[X]
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
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
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

 
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

Application Discovery Service in AWS

In the era of the cloud, customers migrating away from their existing on-premise infrastructure. This requires lots of planning, strategies, and effort to identify their existing resources and determine how best to migrate.  Datacenter migrations happen in four phases -

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
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.

688 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