Click here to Skip to main content
Licence 
First Posted 15 May 2006
Views 76,581
Downloads 2,281
Bookmarked 30 times

Sending Email From JavaScript using OutLook Automation

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.
   2.53 (16 votes)
4 votes, 25.0%
1

2
1 vote, 6.3%
3
2 votes, 12.5%
4
9 votes, 56.3%
5
2.53/5 - 16 votes
μ 2.53, σa 3.03 [?]
 

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

About the Author

Kushan Thakershy

Web Developer

United States United States

Member
I am a student and right now pursuing post graduation in software development and management.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionHow could I change the name of the attachment? PinmemberRidwan Habbal0:31 19 Feb '09  
Generali acn't downlaod Pinmemberani.thettayil19:10 2 Feb '09  
GeneralSending a mail using Javascript PinmemberMember 337739119:05 17 Dec '08  
GeneralIn Internet, the browser throws error and outlook is not opening when attachment PinmemberBiru0:17 25 Sep '08  
QuestionActiveX control [modified] PinmemberMember 38938557:25 8 May '08  
AnswerRe: ActiveX control Pinmemberchandrasenareddybhumireddy20:02 1 Jul '09  
GeneralBrilliant!!! Pinmemberdipan_das6:32 17 Apr '08  
GeneralNice....you rock baby....;) Pinmemberahmarshi11:03 11 Jul '07  
Questioncan u make it general Pinmembermsamido7:45 19 Sep '06  
AnswerRe: can u make it general PinmemberUday Patil0:59 12 Feb '09  
Generalmaking it general.. Pinmemberakshatdon1:05 26 Jul '06  

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

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

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120222.1 | Last Updated 22 May 2006
Article Copyright 2006 by Kushan Thakershy
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid