Open Bug 104491 Opened 23 years ago Updated 2 years ago

Mapi Word 2k -Subject of email has text from doc, not title

Categories

(MailNews Core :: Simple MAPI, defect)

x86
Windows 2000
defect

Tracking

(Not tracked)

People

(Reporter: scalkins, Unassigned)

References

Details

Attachments

(1 file)

Saw this on Win32 2001-10-12-05 094 branch

Steps to repro:
1)Set mapi option on in Mail prefs.
2)Launch Word (I left NS6 running in background minimized..mail was logged in)
3) Create a new doc. Type a bunch of text in it ,one sentence worth. Save the
doc to a file. (Note the Doc title changed to the save file name 
i.e.: "Doc55.doc - Microsoft Word")
4)Now do a File-->Send To-->Mail Recipient
5)Look at the Mail subject line

Expected results: The document title should show in the subject for the NS6 Mail

Actual results: All the text you typed in the doc shows in the subject line and
Mail title bar.
I have MS Word 2000(9.0.2720) on Win 2k
Keywords: nsbranch
This happens whether or not NS6 is running in the background when mapi invokes
NS6 mail is invoked. The sent mail keeps the text also. 
I'll argue that this is a privacy issue for documents that contain sensitive
data. You don't want people to be able to see the text of the doc in your
Subject line in the  Inbox if they happen to look over your shoulder at your screen.
Summary: Mapi - Subject of email has text from doc, not title → Mapi Word 2k -Subject of email has text from doc, not title
strange. I can't reproduce this with word '97. The file name is always the
subject. Even if I've never saved the doccument before the subject just says
"Document 1". word 2000 specific?
If it helps, I noticed when I tried to save the new doc I created, Word2k puts
the text of the doc for the filename by default in the Save as dialog..I have to
overtype it.

\Suz
then this behavior kind of makes sense since that must be how word guesses an
initial file name. With word '97 they initally guess with the following pattern:
"Document n.doc" where n is a number. And that's what I get as the subject when
i send an unsaved document. so we may not be able to fix this since it seems
that's how win2k guesses an initial filename for unsaved documents. Strange
behavior on there part if you asked me.
I set mapi to work with Outlook Express.CLosed Outlook express.
 Then invoked Word 2k and sent a saved doc vai mapi to Outlook Express mail. The
mail opened with the correct doc name in the subject, and not the text of the
doc itself.

Using Outlook Express as a measure, is there maybe something we can apply to
alleviate this problem?
given that this works correctly using outlook exp. then my earlier comments
saying this behavior was dictated by word 2k maybe wrong since OE is able to
handle it properly. 
Reassign to Rajiv.
Assignee: tiantian → rdayal
Can QA take a look at this? This is a stop ship until we know the answers to:
1) If the document still attached? 2)Is the document sent and recieved
correctly? 3) Can the user change the subject line? Whata re the workarounds
here, so the user can send the document, and make sure there is no dataloss, or
security issues.

Marking as PDT and nsbranch+ per meeting with Simple MAPI team
Keywords: nsbranchnsbranch+
Whiteboard: [PDT]
1) If the document still attached?
QA: Yes, it is attached.

2)Is the document sent and recieved correctly?
QA: Yes, it is sent and received properly

3) Can the user change the subject line? 
QA: Yes, the user can change the Subject line, and when they do this, it changes
the Title of the compose window also.
If they do change the  subject of the message, when the recipient gets the
message, the changed subject is reflected properly.
The security isues come into play if the user sends the doc without changing the
subject line.
Checked  on Win2k 2001-10-15-05 Br 094
I was able to duplicate what was mentioned. What occurs is when you send the
document as an attachment, MS Word captures the first sentence of the document
and enters that into the subject line of the email message.  But this is
expected because when outlook express is your default email client, the same
thing occurs when you try to send the document as an attachement.  With outlook
express as your default, if you try to send the message through MS Word to the
Mail Recipient(instead of selecting Mail recipient(as Attachment)), then you get
what the Expected results described.  But Netscape Mail doesn't offer the option
to send a document directly unless you send it as an attachment.

Based on similarities with Express, i don't believe this is a bug.
Mark as invalid, based on Trix's testing result.

Anyone disagree?
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Rajiv has a couple of solutions for this problem, but it seems not worthwhile to
implement right now. He'll add his comments soon.

What we can do is ask our users what they want to see in this situation. 
(1)Do they want to see the file name as the subject? 
(2)Or do they want to see the first sentence of the doc as the subject? 
(3)Or the first 10 words? 
(4)Are they OK if we just have the same behaviour like Express?

Reopening, so that PDT can take a look.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
There is not really any solution for this problem. The calling app should send a
more sensible subject line. We just take the data passed in by the MAPI apps and
send it as it is without manipulating it in any way. And this is the right thing
to do. I think we should not change the data, subject line or any other fields
passed in by MAPI app in anyway since that could mean data loss from apps point
of view.

The workaround that I mentioned was in fact just to avoid the case seen here so
as to make it more sensible for the user from what is our perspective (but again
that may or may not be the user's perspective and also may vary user to user) if
everyone really thinks so. The workaround was to replace the subject line with
the file title (or part of the statement) if the subject line is the same as the
complete first statement in the attached document.

Also as Tiantian mentioned we should get our customers input on this if we need
to do anything at all for this. 

Since we are in parity with outlook express, and the doc is sent and received
correctly, this is certainly not a stop-ship. Changed to P4.

We can improve user experience after getting some feedback in the next release.

Any other comments?
Priority: -- → P4
I'm still a bit confused 'cause Suzanne says OE did behave differently for us:

"I set mapi to work with Outlook Express.CLosed Outlook express.
 Then invoked Word 2k and sent a saved doc vai mapi to Outlook Express mail. The
mail opened with the correct doc name in the subject, and not the text of the
doc itself."

Scott -  I missed something Trix caught. "With outlook express as your default,
if you try to send the message through MS Word to the Mail Recipient(instead of
selecting Mail recipient(as Attachment)), then you get the doc name in subject."

 I had selected Mail recipient(as Attachment), and that is the case where text
gets inserted, both in Express, and with us. 
Netscape Mail doesn't offer the option
to send a document directly unless you send it as an attachment.


PDT-, because this works the same as Outlook.
Whiteboard: [PDT] → [PDT-]
Keywords: nsbranch-
Blocks: 107067
Keywords: nsbranch-
Blocks: 107066
Keywords: nsbranch+
Blocks: 103807
so in light of rajiv's comments ands suzanne's confirmations, perhaps this bug
needs to be resolved as "worksforme"
I suggest we change it to an enhancement, where we offer the same option as
Outlook Express. We should be able to send the message through MS Word to the
Mail Recipient (instead of selecting Mail recipient"as Attachment" 

Is this possible?
I don't think this is possible.  I believe this is an embedded microsoft feature
because selecting the "Mail Recipient" feature changes the icon bars in MS Word
to display the recipient to send to, the subject line, and Simple MAPI would
have to have control of actions within the app(like access to address book and
so on.  This now converts MS Word into a compose-like window to send the email
message. 

This is probably beyond the realm of Simple MAPI.
I agree with Trix.
Keywords: nsbeta1
Status: REOPENED → ASSIGNED
Keywords: nsbeta1nsbeta1-
Target Milestone: --- → mozilla1.2
No longer blocks: 107067
Whiteboard: [PDT-]
No longer blocks: 107066
removed tiantian from cc (bad alias; sends mail to jhooker)
QA Contact: trix → yulian
QA Contact: yulian → stephend
Product: MailNews → Core
Assignee: rdayal → nobody
Status: ASSIGNED → NEW
Priority: P4 → --
QA Contact: stephend → simple-mapi
Target Milestone: mozilla1.2alpha → ---
Product: Core → MailNews Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: