Click here to Skip to main content
15,867,686 members
Articles / Web Development / ASP.NET
Article

Sending Email From JavaScript using OutLook Automation

Rate me:
Please Sign up or sign in to vote.
2.60/5 (17 votes)
22 May 2006 154.7K   6.1K   33   12
This is a client side script to send emails using Outlook Express. You can add this script on a click event of a button on your ASP.NET page; this script will create a mail message (to, from, cc, attachments, body) and open Outlook Express with these data and let you send the same email.

Introduction

Sometimes we have very specific requirements for sending emails. I had faced the same problem. Our client wanted to send email by only using Outlook 2003. The Office 2003 was installed only on the client machine, so I had to create a client side code to send an email through Outlook Express 2003. I could easily send email with ASP.NET and SMTP protocol, but the client wanted to use Outlook 2003 to send an email, which inspired me to write the following code. The code is written in JavaScript and ASP.NET.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
I am a student and right now pursuing post graduation in software development and management.

Comments and Discussions

 
QuestionHow could I change the name of the attachment? Pin
Ridwan Habbal18-Feb-09 23:31
Ridwan Habbal18-Feb-09 23:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.