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

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]());


Habilidades: Java, Email Developer

Veja mais: configure sending email via outside smtp exchange 2007, smtp connector test exchange server 2007, microsoft exchange server 2007 saving synchronization log error, java mail library, java smtp client, read office 365 email using java, simple java mail, java program to send email using outlook, java receive email, java smtp server library, java code to send mail using microsoft exchange server, microsoft exchange server errors saving synchronization log 2007, microsoft exchange server error saving synchronization log, microsoft exchange server reported errer 0x8004010f exchange 2007, Microsoft Exchange Server , microsoft exchange server 0x8004010f, microsoft exchange server logon python bot, windows microsoft exchange server admin resume india, connect microsoft exchange server ipad, configure microsoft exchange server

Acerca do Empregador:
( 14 comentários ) Lakewood, United States

ID do Projeto: #23462485

Concedido a:


How are you? I have gone through your requirements and I can do this task. I can assure you of a complete professional work in a given timeline. Please share complete detail of your requirement. If you hire me, I will Mais

$70 USD em 3 dias
(1 Comentário)

11 freelancers estão ofertando em média $129 para esse trabalho


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 Mais

$150 USD in 3 dias
(45 Comentários)

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 Mais

$160 USD in 2 dias
(24 Comentários)

Greetings! I have good experience of java and please check my project. I have done similar work in the past, so it won't take much of your time. Do not pay me until you get full satisfaction. I am looking forward to di Mais

$140 USD in 7 dias
(9 Comentários)

Hello, I can provide you perfect work as you looking for . we can discuss more in chat . I will be waiting for your response . I have very great experience about your project , if you want discuss more please send me Mais

$140 USD in 7 dias
(0 Comentários)

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 Mais

$150 USD in 5 dias
(0 Comentários)

Hope you are great! I've just read your job description extremely carefully and got interested. I've been working as a web/app developer for about 5 years. I am very skillful with Java and SMTP. I will make great effor Mais

$140 USD in 2 dias
(0 Comentários)

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 Mais

$100 USD in 7 dias
(0 Comentários)

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? Mais

$150 USD in 7 dias
(0 Comentários)

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 dias
(0 Comentários)

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 dias
(0 Comentários)