why outlook change forward mail

Status
Not open for further replies.
A

Ashish

In outlook addin if i select a mail in active explorer and click on forward

button then outlook will create a new mail which contains contents of

selected mail.

I can access new mail in onnewinspector. If i change body of new mail

(either in onnewinspector or item_open) then body of new mail is change. But

it also change the body of selected mail(for which we click on fwd button).

why? Why outlook change body of selected mail?How to avoid this. If we

modify new(forward) mail then it should not change selected mail.

I can access to selected mail when click on forward button.

If it's outlook internal functionality that if we modify new(forward) mail

then it'll also modify selected mail then which event in on new inspector i

can use to modify the selected mail(chnage original body back).
 
S

Sue Mosher [MVP]

Outlook has no internal functionality that would change the body of an

existing item when it is forwarded. The item is marked as forwarded, but

that's done in hidden MAPI properties, not the item body.

The most likely explanation is that your code is making changes to the

original item.

Sue Mosher

"Ashish" wrote:


> In outlook addin if i select a mail in active explorer and click on forward
> button then outlook will create a new mail which contains contents of
> selected mail.
> I can access new mail in onnewinspector. If i change body of new mail
> (either in onnewinspector or item_open) then body of new mail is change. But
> it also change the body of selected mail(for which we click on fwd button).
> why? Why outlook change body of selected mail?How to avoid this. If we
> modify new(forward) mail then it should not change selected mail.
> I can access to selected mail when click on forward button.
> If it's outlook internal functionality that if we modify new(forward) mail
> then it'll also modify selected mail then which event in on new inspector i
> can use to modify the selected mail(chnage original body back).

>
 
A

Ashish

Hi Sue,

It's not my code which change original item. WHen i click on forward button

outlook call OnNewInspector where i change body and return. I dont call my

code there but it changes original mail body for which i click forward

button.

"Sue Mosher [MVP]" <suemvp@gmail.com> wrote in message

news:49C75247-EF36-459C-8960-35D6EDCE5091@microsoft.com...
> Outlook has no internal functionality that would change the body of an
> existing item when it is forwarded. The item is marked as forwarded, but
> that's done in hidden MAPI properties, not the item body.

> The most likely explanation is that your code is making changes to the
> original item.
> > Sue Mosher
> > >

> "Ashish" wrote:
>
> > In outlook addin if i select a mail in active explorer and click on
> > forward
> > button then outlook will create a new mail which contains contents of
> > selected mail.
> > I can access new mail in onnewinspector. If i change body of new mail
> > (either in onnewinspector or item_open) then body of new mail is change.
> > But
> > it also change the body of selected mail(for which we click on fwd
> > button).
> > why? Why outlook change body of selected mail?How to avoid this. If we
> > modify new(forward) mail then it should not change selected mail.
> > I can access to selected mail when click on forward button.
> > If it's outlook internal functionality that if we modify new(forward)
> > mail
> > then it'll also modify selected mail then which event in on new inspector
> > i
> > can use to modify the selected mail(chnage original body back).
>

>
>>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
V major issue in outlook "Change in forward mail also change selected mail " Outlook VBA and Custom Forms 1
S Outlook 2016 Change how Outlook shows me contacts in emails Using Outlook 0
Z Outlook 365 delete reminder you can’t make change to contents of this-read only folder Using Outlook 4
J Outlook 2013 Change color of text in data fields of contacts in Outlook 2013? Using Outlook 10
E How to display "Change Folder" in Change Default Email Delivery Location in Exchange Outlook 2016 Using Outlook 1
S Outlook 2010 unable to change default font Using Outlook 7
T Change the selected Message in the Outlook window Outlook VBA and Custom Forms 2
B Do not change the From address in Outlook Templates Using Outlook 0
M VBA to change flag status in outlook contact item Outlook VBA and Custom Forms 3
tjd189 outlook 2016 name change Using Outlook 1
J Change POP account to Forwarder - What happens in Outlook? Using Outlook 2
O VBA to Run Font Change on Outlook Startup Outlook VBA and Custom Forms 4
K Other Shared Calendar on Outlook cannot change items Using Outlook.com accounts in Outlook 7
Diane Poremsky How to Change the Font used for Outlook's RSS Feeds Using Outlook 0
R Outlook 2016 - How to change password in MS Exchange email client Using Outlook 0
Diane Poremsky Change Outlook's Programmatic Access Options Using Outlook 0
Tim King Outlook 365 unable to change accounts Using Outlook 0
Kika Melo Change location of Outlook SecureTemporary Files Folder Using Outlook 5
D Change sender name outlook vba 2010 Custom Userform Outlook VBA and Custom Forms 1
Z Batch Change Folder Views in Outlook 2016 Using Outlook 1
J Outlook 2007 - Change Message Class for all Items in Folder Outlook VBA and Custom Forms 1
A Change Outlook Taskbar Icon Using Outlook 0
S Outlook 2013 change proofing language Using Outlook 4
O Change Debit to Credit in Outlook 2003? Using Outlook 1
A iCloud add-on for Outlook: Reminder for new appointment is set to 'None' by default. How to change? Using Outlook 6
H Can't change the location of the Data File (.ost) in Outlook 2013 Using Outlook 2
Fozzie Bear Change the colour or font of individual email accounts in outlook 2010/13 Using Outlook 1
V Outlook Change Notifier Using Outlook 4
J Outlook Mailbox cleanup; any way to change limit to find items older 999 days? Exchange Server Administration 2
Maybear Sudden change in Outlook, no image display, email no longer offers suggestions for address Using Outlook 8
P Change the Outlook.com "from" address for calendar event invites Using Outlook 9
E outlook 2013 --->actions ---> view in browser, is there a way to change the Using Outlook 1
W Change Template Recipient Automatically - Outlook 2007 Using Outlook 5
B Timed events created in iPhone auto-change to All Day events in Outlook 2010 Using Outlook 2
S CHANGE DEFAULT VIEW FOR CONTACT (People) SEARCH - Outlook 2013 Using Outlook 3
A Change subject line of external software using outlook. Using Outlook 1
T How to change default search engine in Outlook 2013? Using Outlook 3
D Outlook 2010: Change the font for the area at the top of an open email. Using Outlook 1
H Outlook default landscape need to change to portrait Using Outlook 1
K Change the default Archive location via GPO in Outlook 2010 Using Outlook 3
K Outlook 2013 - Use VBA to change Due date of Tasks Using Outlook 3
M How do you change the obnoxious color of the email headers on Outlook 2013? Using Outlook 2
A Change calendar permissions in Outlook 2007 Using Outlook 9
J How To Change Font Size For Folder Names on Navigation Pane in Outlook 2013 Using Outlook 1
O Exchange + pst: Can I change the default Outlook calendar/tasks/account? Exchange Server Administration 2
S change default contact list in Outlook 2010 to "contacts" rather than "global" Exchange Server Administration 1
S Outlook 2010 change birthdays from all day to specific time Using Outlook 1
M How do I change the default map from Bing to Google in Outlook 2003? Using Outlook 23
T Change from exchange server to pop when I set up outlook wrong Exchange Server Administration 1
M Change Meetings to Appointments in Outlook 2003 Using Outlook 6

Similar threads

Top