A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Programmatically populating an email but allowing user opportunity to edit



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 18th 06, 10:50 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 1
Default Programmatically populating an email but allowing user opportunity to edit

Hello all,

My application has a requirement to send emails containing different
internal data via email. It is easy to construct and send this email
entirely programmatically. However there is now a requirement that the
user should have the opportunity to edit the email before it is sent.

Ideally, I'd like to have the autogenerated email appear in the outlook
editor, with the body, subject, recipients and attachments already
present. The user could then verify/modify the contents, hit send, and
life goes on and the world is happy.

I've looked at ways of autopopulating this data via the command line
(outlook.exe doesn't seem very flexible as far as command line options
doing all of the above at once). I've also used basic CDO to construct
and send emails with no user interaction. However, I am no expert, and
would appreciate any advice or a kind nod in the right direction from
someone who has done similar.

thanks in advance,
Chuck


Ads
  #2  
Old April 18th 06, 11:08 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Programmatically populating an email but allowing user opportunity to edit

If you want to display the message to the user, then you need to use Outlook objects to create it and conclude your code with a MailItem.Display statement.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

wrote in message oups.com...
Hello all,

My application has a requirement to send emails containing different
internal data via email. It is easy to construct and send this email
entirely programmatically. However there is now a requirement that the
user should have the opportunity to edit the email before it is sent.

Ideally, I'd like to have the autogenerated email appear in the outlook
editor, with the body, subject, recipients and attachments already
present. The user could then verify/modify the contents, hit send, and
life goes on and the world is happy.

I've looked at ways of autopopulating this data via the command line
(outlook.exe doesn't seem very flexible as far as command line options
doing all of the above at once). I've also used basic CDO to construct
and send emails with no user interaction. However, I am no expert, and
would appreciate any advice or a kind nod in the right direction from
someone who has done similar.

thanks in advance,
Chuck


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to differ between received and sent email programmatically Darius Add-ins for Outlook 3 April 6th 06 08:06 PM
How to add a bitmap footer to each outgoing email programmatically Herve cadieu Outlook and VBA 3 March 13th 06 05:39 PM
User cannot edit or delete tasks Micheline Outlook - Installation 0 February 15th 06 10:35 PM
Can't use Word to edit email with Office 2003 [email protected] Outlook - General Queries 6 February 15th 06 04:14 PM
Outlook cant find Word when trying to edit email. John Outlook - Installation 0 February 6th 06 04:22 AM


All times are GMT +1. The time now is 07:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.