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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Saving the mail in sent items without actually sending the mail.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 7th 07, 02:51 PM posted to microsoft.public.outlook.program_addins
Joe
external usenet poster
 
Posts: 3
Default Saving the mail in sent items without actually sending the mail.


Hi all

i would like to save a copy of a dummy mail which i create in code to
the SentItems folder. i dont want to actually send it. i saw it
working in the LinkedIn Toolbar for outlook while sending invitations
to contacts. They dont sent the mail using outlook rather some web
service but they manage to save a copy into sent items folder. How do
i reproduce something like this. Any sample code or link would be
greatly appreciated.

thanks

Joe Augustine

Ads
  #2  
Old June 7th 07, 06:23 PM posted to microsoft.public.outlook.program_addins
Mark J. McGinty
external usenet poster
 
Posts: 56
Default Saving the mail in sent items without actually sending the mail.


"Joe" wrote in message
oups.com...

Hi all

i would like to save a copy of a dummy mail which i create in code to
the SentItems folder. i dont want to actually send it. i saw it
working in the LinkedIn Toolbar for outlook while sending invitations
to contacts. They dont sent the mail using outlook rather some web
service but they manage to save a copy into sent items folder. How do
i reproduce something like this. Any sample code or link would be
greatly appreciated.


Get a reference to the Sent Items MAPIFolder object (GetDefaultFolder method
of NameSpace object, olFolderSentMail as the argument value), then get a
reference to the Items collection (property of MAPIFolder) and use its Add
method to create the email item directly in Sent Items. Or if the item
already exists in another folder, call the item object's Copy or Move method
(both of which accept the destination MAPIFolder as an argument.)


-Mark



thanks

Joe Augustine



  #3  
Old June 7th 07, 09:25 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Saving the mail in sent items without actually sending the mail.

http://groups.google.com/group/micro...bfd6995a46b4c2

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Joe" wrote in message
oups.com...

Hi all

i would like to save a copy of a dummy mail which i create in code to
the SentItems folder. i dont want to actually send it. i saw it
working in the LinkedIn Toolbar for outlook while sending invitations
to contacts. They dont sent the mail using outlook rather some web
service but they manage to save a copy into sent items folder. How do
i reproduce something like this. Any sample code or link would be
greatly appreciated.

thanks

Joe Augustine



 




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
post item to mail folder without sending mail John Keith Outlook - General Queries 4 April 26th 07 05:06 AM
Don't want the unread mail count for Junk Mail or Deleted items. George Hogge Outlook - Installation 3 April 1st 07 11:38 PM
Sending mail from NewMailEx deletes the mail from the Inbox Ron Outlook and VBA 1 January 10th 07 07:40 PM
saving the mail armando Outlook - Using Forms 1 November 3rd 06 11:12 PM
Saving OE mail Happy Outlook Express 3 June 29th 06 04:38 PM


All times are GMT +1. The time now is 08:53 AM.


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