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

Dmitry - Outlook Warning



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 7th 06, 11:13 PM posted to microsoft.public.outlook.program_vba
JT
external usenet poster
 
Posts: 41
Default Dmitry - Outlook Warning

Here is the code I am using to send an Outlook message with an attachment to
another Outlook box:

ActiveWorkbook.SendMail Recipients:="(mailbox name)", Subject:=FileName

We have some users who will click "NO" when they get the warning message.
Can I find out which option (Yes, No, Help) they have chosen with this code?

Any suggestions or help would be greatly appreciated. Thanks for the
help....Mike

--
JT
Ads
  #2  
Old August 8th 06, 06:35 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Dmitry - Outlook Warning

AFAIK SendMail uses Simple MAPI, so I don't think you can find any
workarounds unless you switch to explicitly using the Outlook Object Model
and trapping the errors returned by MailItem.Send

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

"JT" wrote in message
...
Here is the code I am using to send an Outlook message with an attachment
to
another Outlook box:

ActiveWorkbook.SendMail Recipients:="(mailbox name)", Subject:=FileName

We have some users who will click "NO" when they get the warning message.
Can I find out which option (Yes, No, Help) they have chosen with this
code?

Any suggestions or help would be greatly appreciated. Thanks for the
help....Mike

--
JT



  #3  
Old August 8th 06, 02:27 PM posted to microsoft.public.outlook.program_vba
JT
external usenet poster
 
Posts: 41
Default Dmitry - Outlook Warning

Thanks for the help......I'll give that a try
--
JT


"Dmitry Streblechenko" wrote:

AFAIK SendMail uses Simple MAPI, so I don't think you can find any
workarounds unless you switch to explicitly using the Outlook Object Model
and trapping the errors returned by MailItem.Send

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

"JT" wrote in message
...
Here is the code I am using to send an Outlook message with an attachment
to
another Outlook box:

ActiveWorkbook.SendMail Recipients:="(mailbox name)", Subject:=FileName

We have some users who will click "NO" when they get the warning message.
Can I find out which option (Yes, No, Help) they have chosen with this
code?

Any suggestions or help would be greatly appreciated. Thanks for the
help....Mike

--
JT




 




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
Identify response to Outlook Warning JT Outlook and VBA 1 August 7th 06 08:00 PM
Thanks Dmitry gxdata Outlook and VBA 0 August 7th 06 10:19 AM
How do I suppress Outlook warning? Matthew Speed Outlook and VBA 5 July 17th 06 03:43 PM
Outlook Warning Colleen Outlook - Using Contacts 2 July 14th 06 07:54 PM
Add a meeting-ending tone, like a warning. Like warning before. Nicholas NFB Outlook - Calandaring 2 January 21st 06 09:28 PM


All times are GMT +1. The time now is 12:22 PM.


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.