Preventing Spell Check in Outlook

M

Mark Wilson

I have a COM addin that gets called when the user clicks SEND for an Outlook
message. Outlook checks the spelling before the Addin is called. If the
user ignores the spelling errors and the Addin returns to the message editor
the next time SEND is clicked the spelling checker will get called again.
I'd like to prevent this by setting some property saying that the message has
no spelling errors or thet the spelling has already been checked.

In Outlook under spelling options I can configure Outlook to "Ignore
original message text in reply or forward".

What is special about the reply text in this case that it doesn't get checked?

Can I move new text into the area occupied by the reply text so that Outlook
thinks its all reply text?

Is there some other way to do this?
 
P

Peter Huang [MSFT]

Hi Mark,

From you description, I understand that you want to you want to dismiss the
outlook spelling check before we click the send button.
If I misunderstood, please feel free to let me know.

Based on my research, if outlook there is an option which will dismiss the
spelling check dialog from appearing.
1. Start Outlook
2. Click Tools/Options/Spelling
3. In the General Options section, there is an option "Always check
spelling before sending"
4. Uncheck the option and Click Ok.
5. If you create a new mail and input something messy(e.g. adfasfsdf), the
spelling check dialog will not popup and the mail will be sent.

You may have a try and let me know the result. If this is not the case, can
you elaborate your scenario/goal more detailed so that we can understand
your scenario and try to find if there is any workaround.

If you still have any concern, please feel free to let me know.
I look forward to hearing from you.

Best regards,

Peter Huang
Microsoft Online Partner Support

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
M

Mark Wilson

Hi Peter. Its not as simple as turning off the spell check option. I want
the spell check to happen once, not twice.

I have a COM addin that gets activated when SEND is clicked. However, the
spell check gets called before the addin. If there are words that the spell
check thinks are errors and since the user knows they are correct he will
click "Ignore" and then the spell check finishes. Next the Addin gets called
and based upon the content of the message body will either continue to allow
the message to be sent or return to the message editor. The usr clicks SEND
again after reviewing the message body and the spell check reactivates
because of the "ignored" words in the original message.

This is anoying for the user because he feels that he has to dismiss all of
the words that the spelling checker found for a second time.

What is special about the original text in a forwarded message that makes
the spell checker ignore it while still checking the new text the user enters?
 
P

Peter Huang [MSFT]

Hi Mark,

Based on my research, there is no such a method/properties/Object in
Outlook Object Modal related with spelling check(here is I outlook buildin
spelling check, but not word's one).

Currently I am performing further researching to see if there is any other
workaround for this issue.

Thanks!

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Peter Huang [MSFT]

Hi Mark,

Based on my research, the possible workaround for your scenario is as below.
Since Send programmatically doesn't invoke the spellchecker, so why not
copy the currentitem (the one being handled by the COM Add-in) and call
Send on the MailItem copy and then delete\cancel the original.

Also my colleagues is following up with you in the MAPI newsgroup below,
you may go and check to see if there is a mapi way for your scenario.
"Marking text for no spell check in Outlook"
microsoft.public.win32.programmer.messaging

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top