473,624 Members | 2,119 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

outlook 2007 add-in button in c# with mailitem forward not working

I'm trying to develop a button in outlook 2007 that will basically let a user
click on one or multiple mail items (exchange 2007) and click this button..
the email(s) then get forwarded to a specific address..

So far i have a loop that checks the selecteditem in the selection list..
and if its a mailitem.. it does:

mailitem.forwar d() and mailitem.send() , while specifying the TO portion...

This doesnt quite work.. it seems the email they click on gets emailed
fine.. but its not really a forward.. its basically stripping the TO section
out of the original and sending it as if it came from the original person in
the from section.

I need true forward ability.. ie: they click it then the button then the
person on the other end has a FW: subject and normal body with forwarded
items.

Is there another command i should be using.. any thoughts?

Thanks
Jun 27 '08 #1
0 1060

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1595
by: Marcel Stör | last post by:
Hi all, I'm trying to add a user property to an Outlook contact item. VisualStudio tells me that the method signature was like this: UserProperties.Add(string Name,Outlook.OlUserPropertyType Type, object AddToFolderFields, object DisplayFormat) So, what I do is: oMyItem.UserProperties.Add("myProperty",Outlook.OlUserPropertyType.olYesNo, true, XXX???XXX);
0
1763
by: Marcel Stör | last post by:
Hi all, I'm trying to add a user property to an Outlook contact item. VisualStudio tells me that the method signature was like this: UserProperties.Add(string Name,Outlook.OlUserPropertyType Type, object AddToFolderFields, object DisplayFormat) So, what I do is: oMyItem.UserProperties.Add("myProperty",Outlook.OlUserPropertyType.olYesNo, true, XXX???XXX);
1
8808
by: jeff.boggs | last post by:
Hello, I have a problem inserting HTML from a Word document into a new Outlook mail message. The message ends up losing all of the formatting and the image that is supposed to appear at the top of the message does not. Here is the code for inserting the HTML. var oOutlookApp, oWordApp, oOutlookMsg, iOutlookRunning; iOutlookRunning = false;
3
3407
by: mwolowski | last post by:
Hello, I'd like to add tasks, appointments, etc using c# to outlook For example i added reference using OutLook = Microsoft.Office.Interop.Outlook; and the code: 1. --------------------- OutLook._Application outlookObj = new OutLook.Application();
1
8134
by: tomer.ha | last post by:
Hi there, I'd like to send emails from a Python program using Simple MAPI. I've tried this code: http://mail.python.org/pipermail/python-list/2004-December/298066.html and it works well with Outlook Express 6 and Thunderbird 1.5, but it doens't work at all with Microsoft Outlook 2007. I keep getting this message: "WindowsError: MAPI error 2". I don't want to use Extended MAPI because it doesn't support thunderbird not OE. Therefore,...
0
1254
by: =?Utf-8?B?Uy5IZXJy?= | last post by:
I am running Outlook 2007 using the most recent version of Outlook Connector on a Windows Vista operating system. I use the Windows Live Mail and can send messages from Outlook, but cannot receive messages. I do not receive any error messages to make it easier to troubleshoot why I am unable to receive my messages through Outlook. It appears that this is a problem that many are having and there aren't any solutions. Anyone know the...
1
5678
by: verasen | last post by:
Outlook 2007 uses the MS Word editor for composing/viewing emails. I'm trying to get a handle to the Word object within outlook and have most of the code. There's one line that's giving me an error and I'm not sure how to get around it. The compiler refuses to compile because of the line which says QueryInterface. The error is "error C2787: 'MSWord::_Document' : no GUID has been associated with this object". I've been breaking my head over this...
0
1515
by: DianaC | last post by:
Hi. I have to generate and send emails from C#.net 2.0 and have to use outlook. I am using Redemption to bypass the outlook security checks, but have the same problem when using CDO. I create an RDO session for a mailbox, send the message on its behalf, and then have to change mailbox, and send different message on behalf of the second mailbox. Despite logging off the RDO session, and setting it to null, outlook remains open between the two...
1
1956
by: gowthamkg | last post by:
Hi, i have to send mail from outlook 2007 by getting the mail id from database.Please provide information about how to integrate Outlook and mysql.
0
3255
by: lundmark | last post by:
When I send a plain-text message using Outook 2007, I want hard line breaks to be added to my outgoing message. I cannot seem to make this happen. I have configured Outlook to Automatically wrap text at 69 characters on Tools | Options | Mail Format | Internet Format | Plain text options. Outlook does not seem to honor this setting. I tried various different encodings for the message including US-ASCII. On advice from a Microsoft page...
0
8172
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8677
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8474
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5563
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2605
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.