Sending email using pure Java using an SMTP connection to a Microsoft Exchange Server

In Progress Posted 4 years ago Paid on delivery
In Progress Paid on delivery

We have been using a deprecated feature of the Windows Server Task Scheduler to send emails, and besides that we only have one server remaining that can do this (this server is running Windows Server 2008 R2 Standard) all our other servers are Windows Server 2012, which doesn't support the 'Send Email' tasks. Furthermore, the emails are TOTALLY STATIC, and I want to dynamically change the "To", "CC", "BCC", "Subject", "Body", etc, which I cannot do.

Your job is to create a single Java class file, to facilitate this (see below, SMTPEmail)

I don't care which set of supporting classes you use, but I found this web article which uses these:

import java.util.*;

import javax.mail.*;

import javax.mail.internet.*;

import javax.activation.*;

[login to view URL]

You are welcome to add additional methods you think will be useful.

Sample use with all methods I want implemented.

try {

SMTPEmail e = new SMTPEmail();

[login to view URL]("fred@[login to view URL]");

[login to view URL]("mary@[login to view URL], bill@[login to view URL]");

[login to view URL]("zack@[login to view URL], craig@[login to view URL]");

[login to view URL]("This is our first Java SMTP Email");

[login to view URL]("wepodkwedpokwed");

[login to view URL]("<Header>Stuff</Header>");

[login to view URL]("X:\MyStuff\[login to view URL]");

[login to view URL]("Z:\Images\[login to view URL]", "[login to view URL]");

[login to view URL]("[login to view URL]", "jw@[login to view URL]", "AF%124a@s!");

[login to view URL]();

}

catch ( Exception e )

{

[login to view URL]([login to view URL]());

}

Java Email Developer

Project ID: #23462485

About the project

7 proposals Remote project Active 4 years ago

7 freelancers are bidding on average $132 for this job

paulprabhakarand

Hi Gentleman, I am a technology expert, more than a decade I am developing and delivering applications on Java based technologies. I am a certified Java professional. My logical thinking and problem solving skills are More

$150 USD in 3 days
(53 Reviews)
6.1
ExpertSoul

Hi There, I've reviewed your requirements, I am very interested in your post project. I'm excited with feeling that I would be able to satisfy your requirements in this job. Please leave a message on my chat so we can More

$160 USD in 2 days
(56 Reviews)
5.4
surajanku

Hello, I am working in this field from last 6+ years, perfection always top priority. I am Software Developer(Expert in C,C++,Java,ASP.NET,C#,Database Development etc.) Please send me a message so that we can discuss m More

$150 USD in 5 days
(2 Reviews)
0.8
s917977192527

Trust me I'm not wasting your time. I can give you java based email sending class with dynamic parameters. I am representative of one team. we are a team of 6 and we work from Mumbai, India. we can do this project. wai More

$100 USD in 7 days
(0 Reviews)
0.0
softwareguruji

Hi, Few more details require. How many different dynamic structures you have? How you are currently managing email body part? To and CC is dynamic but how it is currently fetched? Is it in some DB? or simple in Excel? More

$150 USD in 7 days
(0 Reviews)
0.0
Speedyjones007

I am experienced in creating j2ee apps. I have good knowledge about core & advance java & database related quiries. for more details, just contact.

$160 USD in 7 days
(0 Reviews)
0.0
nitinvaishya

I am Java fullstack developer with 10 years of experience. I could fulfill your requirements. I had experienced such requirements earlier in corporate work. waiting for positive response

$55 USD in 3 days
(0 Reviews)
0.0